summaryrefslogtreecommitdiff
path: root/elisp/geiser-autodoc.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2011-06-23 00:40:37 +0200
committerjao <jao@gnu.org>2011-06-23 00:40:37 +0200
commit1fed886738b8c99e958fa6dec9948e239c93ded3 (patch)
treec56cf475e6e4c29b28072412e0f2315d97accfc8 /elisp/geiser-autodoc.el
parent25052fd1f266f6eee67d7a41ab99aee797dea22a (diff)
downloadgeiser-chez-1fed886738b8c99e958fa6dec9948e239c93ded3.tar.gz
geiser-chez-1fed886738b8c99e958fa6dec9948e239c93ded3.tar.bz2
Irrelevant compilation warning fix
Using called-interactively-p instead of interactive-p, if you have to know. The latter is deprecated as of Emacs 23.2, which the lowest version supported by Geiser.
Diffstat (limited to 'elisp/geiser-autodoc.el')
-rw-r--r--elisp/geiser-autodoc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el
index 550cb16..9412323 100644
--- a/elisp/geiser-autodoc.el
+++ b/elisp/geiser-autodoc.el
@@ -223,7 +223,7 @@ 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 (if geiser-autodoc-mode 1 -1))
- (when (interactive-p)
+ (when (called-interactively-p nil)
(message "Geiser Autodoc %s"
(if geiser-autodoc-mode "enabled" "disabled"))))