summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-09-11 22:40:19 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-09-11 22:40:19 +0200
commit2c6127d54ed940a988ffc31a7285400d6df16e32 (patch)
treef7684ba65de90efcd82abd9095578f4355545e14
parente70c2887af00bb60b7dad37aa0654751233bdcd3 (diff)
downloadgeiser-guile-2c6127d54ed940a988ffc31a7285400d6df16e32.tar.gz
geiser-guile-2c6127d54ed940a988ffc31a7285400d6df16e32.tar.bz2
Silent autodoc message when starting REPL
-rw-r--r--elisp/geiser-repl.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index e0db2c3..1530c01 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -465,7 +465,10 @@ With a prefix argument, force exit by killing the scheme process."
(set (make-local-variable 'comint-input-ignoredups)
geiser-repl-history-no-dups-p)
(setq geiser-eval--get-module-function 'geiser-repl--module-function)
- (when geiser-repl-autodoc-p (geiser-autodoc-mode 1))
+ (when geiser-repl-autodoc-p
+ (let ((msg (current-message)))
+ (geiser-autodoc-mode 1)
+ (message msg)))
(setq geiser-autodoc--inhibit-function 'geiser-con--is-debugging)
(geiser-company--setup geiser-repl-company-p)
(setq geiser-smart-tab-mode-string "")