emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e297c4f: Fix previous help-fns change


From: Lars Ingebrigtsen
Subject: master e297c4f: Fix previous help-fns change
Date: Wed, 8 Sep 2021 04:13:54 -0400 (EDT)

branch: master
commit e297c4fbeeb6815d7596792400fb4754b33c0672
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix previous help-fns change
    
    * lisp/help-fns.el (help-fns--run-describe-functions): Fix the
    test for whether the function inserted anything.
---
 lisp/help-fns.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 756eb83..3f1b56c 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1238,7 +1238,7 @@ it is displayed along with the global value."
       (let ((size (buffer-size standard-output)))
         (apply func args)
         ;; This function inserted something, so register it.
-        (when (> (buffer-size) size)
+        (when (> (buffer-size standard-output) size)
           (push func help-fns--activated-functions)))))
   (with-current-buffer standard-output
     (help-fns--ensure-empty-line)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]