summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-15 18:41:04 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-15 18:41:04 +0100
commit8d137f9e77811f16d536f73cc1c059a77782f7de (patch)
tree27f53c14da484987ff9c5093dcf098a75040e0c3 /elisp/geiser-mode.el
parent5f34ef433af9deb412f29fb509de8f5d1082526d (diff)
downloadgeiser-8d137f9e77811f16d536f73cc1c059a77782f7de.tar.gz
geiser-8d137f9e77811f16d536f73cc1c059a77782f7de.tar.bz2
Smart tab completion mode.
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r--elisp/geiser-mode.el13
1 files changed, 10 insertions, 3 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el
index d58de1e..84455e7 100644
--- a/elisp/geiser-mode.el
+++ b/elisp/geiser-mode.el
@@ -43,11 +43,16 @@
:group 'geiser)
(defcustom geiser-mode-autodoc-p t
- "Whether `geiser-autodoc-mode' gets enabled by default in factor buffers."
+ "Whether `geiser-autodoc-mode' gets enabled by default in Scheme buffers."
:group 'geiser-mode
:group 'geiser-autodoc
:type 'boolean)
+(defcustom geiser-mode-smart-tab-p t
+ "Whether `geiser-smart-tab-mode' gets enabled by default in Scheme buffers."
+ :group 'geiser-mode
+ :type 'boolean)
+
;;; Auxiliary functions:
@@ -132,10 +137,12 @@ interacting with the Geiser REPL is at your disposal.
\\{geiser-mode-map}"
:init-value nil
:lighter geiser-mode-string
- :group 'geiser
+ :group 'geiser-mode
:keymap geiser-mode-map
(setq geiser-autodoc-mode-string "/A")
- (when geiser-mode-autodoc-p (geiser-autodoc-mode geiser-mode)))
+ (setq geiser-smart-tab-mode-string "/T")
+ (when geiser-mode-autodoc-p (geiser-autodoc-mode geiser-mode))
+ (when geiser-mode-smart-tab-p (geiser-smart-tab-mode geiser-mode)))
;;; Keys: