summaryrefslogtreecommitdiff
path: root/elisp/geiser-autodoc.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-30 13:57:17 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-30 13:57:17 +0100
commit6af91c60dc7d3476308ff1a48cf2e0bd5e0a7079 (patch)
tree3d2d1cf7debf9897b6cfba346645284d9b9e7deb /elisp/geiser-autodoc.el
parent36ab77c75cdaaf21181d3017792d5f44c2b6c701 (diff)
downloadgeiser-6af91c60dc7d3476308ff1a48cf2e0bd5e0a7079.tar.gz
geiser-6af91c60dc7d3476308ff1a48cf2e0bd5e0a7079.tar.bz2
Autodoc nit
Diffstat (limited to 'elisp/geiser-autodoc.el')
-rw-r--r--elisp/geiser-autodoc.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el
index 8ab89a6..2f07b8e 100644
--- a/elisp/geiser-autodoc.el
+++ b/elisp/geiser-autodoc.el
@@ -64,7 +64,8 @@ when `geiser-autodoc-display-module-p' is on."
(dolist (item res)
(push (cons (format "%s" (car item)) (cdr item)) signs))
(let ((str (geiser-autodoc--autodoc (geiser-syntax--scan-sexps) signs)))
- (when str (eldoc-message str)))
+ (when (not (string-equal str eldoc-last-message))
+ (eldoc-message str)))
(setq geiser-autodoc--cached-signatures signs))))
(defun geiser-autodoc--get-signatures (funs)