[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-gauche 0be6e0a 081/119: Add setup elisp file
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-gauche 0be6e0a 081/119: Add setup elisp file |
Date: |
Sun, 1 Aug 2021 18:28:01 -0400 (EDT) |
branch: elpa/geiser-gauche
commit 0be6e0aaf92968b24ddd30e6d13baa0daca06550
Author: András Simonyi <andras.simonyi@gmail.com>
Commit: András Simonyi <andras.simonyi@gmail.com>
Add setup elisp file
---
geiser-gauche-setup.el | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/geiser-gauche-setup.el b/geiser-gauche-setup.el
new file mode 100644
index 0000000..030ac46
--- /dev/null
+++ b/geiser-gauche-setup.el
@@ -0,0 +1,33 @@
+;;; geiser-gauche-setup.el --- Set up Gauche support for Geiser -*-
lexical-binding:t -*-
+
+;; Copyright (C) 2020 András Simonyi
+
+;; Author: András Simonyi <andras.simonyi@gmail.com>
+;; SPDX-License-Identifier: BSD-3-Clause
+
+;; This file is not part of GNU Emacs.
+
+;;; Commentary:
+
+;; Function to set up Gauche support in Geiser. It is in a separate file to
+;; avoid loading geiser-gauche in the setup phase.
+
+;;; Code:
+
+(require 'geiser-gauche)
+
+;;;###autoload
+(defun geiser-gauche-setup ()
+ "Set up Geiser Gauche support.
+Add Gauche to the list of active Scheme implementations if the
+user didn't customize the list."
+ (interactive)
+ (eval-after-load 'geiser-impl
+ ;; Add Gauche only if the list of active impls is the standard one.
+ (when (equalp (cadar (get 'geiser-active-implementations 'standard-value))
+ geiser-active-implementations)
+ (add-to-list 'geiser-active-implementations 'gauche))))
+
+(provide 'geiser-gauche-setup)
+
+;;; geiser-gauche-setup.el ends here
- [nongnu] elpa/geiser-gauche dfc3090 106/119: Correctly detect version with Gauche 0.9.6, (continued)
- [nongnu] elpa/geiser-gauche dfc3090 106/119: Correctly detect version with Gauche 0.9.6, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 8e737d2 110/119: Improve completion, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 5a2f9c6 118/119: Update README, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 2d3992e 117/119: Update README, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 6b79b43 036/119: Cleanup, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 524b594 046/119: Start work on module documentation, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche a1ef874 049/119: Finish module info for now, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 4027a84 053/119: Minor fix, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 2e6dbc4 076/119: Aesthetic changes, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 6806302 077/119: Cosmetic changes for MELPA, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 0be6e0a 081/119: Add setup elisp file,
Philip Kaludercic <=
- [nongnu] elpa/geiser-gauche a3b2e3f 009/119: Remove test line, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 0050571 021/119: Minor fix in autodoc, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 7635884 020/119: Minor fix, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche c96701c 047/119: Continue work on module docs, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 54a360a 029/119: Add symbol manual lookup support, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche f5ddefb 043/119: Prefer current-module visible alternatives in autodoc, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 4195803 028/119: Prefer longest require arg list in autodoc, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche d5d68fd 039/119: Don't import the geiser module at startup, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 0fac12f 048/119: Improve module documentation, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche a0eee47 068/119: Correctly detect current module in the repl, Philip Kaludercic, 2021/08/01