summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-23 16:12:02 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-23 16:12:02 +0200
commitcaf962e8deffd840c67ef591613125638ff03d97 (patch)
treec1a56cc4b584fa99679d71ae8a343ab3cd9daef1
parent48333a4d4593b2d616855e50e3211537d210624f (diff)
downloadgeiser-chez-caf962e8deffd840c67ef591613125638ff03d97.tar.gz
geiser-chez-caf962e8deffd840c67ef591613125638ff03d97.tar.bz2
Using smart tab mode in REPL
-rw-r--r--doc/fun.texi3
-rw-r--r--elisp/geiser-guile.el4
-rw-r--r--elisp/geiser-repl.el1
3 files changed, 5 insertions, 3 deletions
diff --git a/doc/fun.texi b/doc/fun.texi
index 2d3c263..76301e2 100644
--- a/doc/fun.texi
+++ b/doc/fun.texi
@@ -51,7 +51,8 @@ can stop reading now and, instead, discover Geiser's joys by yourself.
I've tried to make Geiser as self-documenting as any self-respecting
Emacs package should be. If you follow this route, make sure to take a
look at Geiser's customization buffers (@kbd{M-x customize-group
-@key{RET} geiser}): there's lot of fine tunning available there.
+@key{RET} geiser}): there's lot of fine tunning available there. You
+might also want to take a glance at the @ref{Cheat sheet}.
Since @i{geiser-mode} is a minor mode, you can toggle it with
@kbd{M-x geiser-mode}, and control its activation in hooks with the
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index d788edd..e6cf8f1 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -132,8 +132,8 @@ This function uses `geiser-guile-init-file' if it exists."
:f)))
((listp module) module)
((stringp module)
- (or (ignore-errors
- (car (geiser-syntax--read-from-string module))) :f))
+ (or (ignore-errors (car (geiser-syntax--read-from-string module)))
+ :f))
(t :f)))
(defun geiser-guile--module-cmd (module fmt &optional def)
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 7c9bd56..d55207e 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -514,6 +514,7 @@ With a prefix argument, force exit by killing the scheme process."
(setq geiser-autodoc--inhibit-function 'geiser-con--is-debugging)
(geiser-company--setup geiser-repl-company-p)
(setq geiser-smart-tab-mode-string "")
+ (geiser-smart-tab-mode t)
;; enabling compilation-shell-minor-mode without the annoying highlighter
(compilation-setup t))