diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-12-30 13:57:17 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-12-30 13:57:17 +0100 |
commit | 6af91c60dc7d3476308ff1a48cf2e0bd5e0a7079 (patch) | |
tree | 3d2d1cf7debf9897b6cfba346645284d9b9e7deb | |
parent | 36ab77c75cdaaf21181d3017792d5f44c2b6c701 (diff) | |
download | geiser-6af91c60dc7d3476308ff1a48cf2e0bd5e0a7079.tar.gz geiser-6af91c60dc7d3476308ff1a48cf2e0bd5e0a7079.tar.bz2 |
Autodoc nit
-rw-r--r-- | elisp/geiser-autodoc.el | 3 |
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) |