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
commitb355f7fb31d19ac680eef38005035a95414a2612 (patch)
tree925fbd331209d813abbb41276a664b4b814d534b /elisp/geiser-autodoc.el
parent8982bb6bb2afce626cd60533cb582ae88259a402 (diff)
downloadgeiser-guile-b355f7fb31d19ac680eef38005035a95414a2612.tar.gz
geiser-guile-b355f7fb31d19ac680eef38005035a95414a2612.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)