diff options
-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) |