]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous help-fns change
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 8 Sep 2021 08:13:47 +0000 (10:13 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 8 Sep 2021 08:13:47 +0000 (10:13 +0200)
* lisp/help-fns.el (help-fns--run-describe-functions): Fix the
test for whether the function inserted anything.

lisp/help-fns.el

index 756eb83b503006806e12d088dd803e457c0134d7..3f1b56c888d1bccd49af1eb3526af3081ecd2381 100644 (file)
@@ -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)))