From b355f7fb31d19ac680eef38005035a95414a2612 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Thu, 30 Dec 2010 13:57:17 +0100 Subject: Autodoc nit --- elisp/geiser-autodoc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3