diff options
-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) |