diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-12-28 15:48:41 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-12-28 15:48:41 +0100 |
commit | 466b8f71a7d6375f55b2806fb949a91d774147c6 (patch) | |
tree | bfba3f2f93f192373c59c78eb3af4e94d97ad124 /elisp | |
parent | ab63255f7dbb1a4eed6f00d5c08309b169a166f3 (diff) | |
download | geiser-guile-466b8f71a7d6375f55b2806fb949a91d774147c6.tar.gz geiser-guile-466b8f71a7d6375f55b2806fb949a91d774147c6.tar.bz2 |
Less noisy autodoc mode activation
Only display an activation message when called interactively.
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-autodoc.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el index 04f450e..429d369 100644 --- a/elisp/geiser-autodoc.el +++ b/elisp/geiser-autodoc.el @@ -221,7 +221,9 @@ displayed in the minibuffer." (set (make-local-variable 'eldoc-minor-mode-string) nil) (set (make-local-variable 'eldoc-idle-delay) geiser-autodoc-delay) (eldoc-mode geiser-autodoc-mode) - (message "Geiser Autodoc %s" (if geiser-autodoc-mode "enabled" "disabled"))) + (when (interactive-p) + (message "Geiser Autodoc %s" + (if geiser-autodoc-mode "enabled" "disabled")))) (defadvice eldoc-display-message-no-interference-p (after geiser-autodoc--message-ok-p) |