summaryrefslogtreecommitdiff
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
commitb0d6c15ad6801fb46093c85aa59e772373ca81a9 (patch)
treee0fe310569cc6a3cde5ff59f72bfd02d84ae8d7a
parentdc4ef45b26e84e6b78ff6d0f346c9b2cea0b003c (diff)
downloadgeiser-b0d6c15ad6801fb46093c85aa59e772373ca81a9.tar.gz
geiser-b0d6c15ad6801fb46093c85aa59e772373ca81a9.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.
-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"))))