summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r--elisp/geiser-mode.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el
index 855f071..f85b530 100644
--- a/elisp/geiser-mode.el
+++ b/elisp/geiser-mode.el
@@ -158,6 +158,16 @@ interacting with the Geiser REPL is at your disposal.
(when geiser-mode-autodoc-p (geiser-autodoc-mode geiser-mode))
(when geiser-mode-smart-tab-p (geiser-smart-tab-mode geiser-mode)))
+(defun turn-on-geiser-mode ()
+ "Enable `geiser-mode' (in a Scheme buffer)."
+ (interactive)
+ (geiser-mode 1))
+
+(defun turn-off-geiser-mode ()
+ "Disable `geiser-mode' (in a Scheme buffer)."
+ (interactive)
+ (geiser-mode -1))
+
;;; Keys: