From: Lars Ingebrigtsen Date: Wed, 8 Sep 2021 08:13:47 +0000 (+0200) Subject: Fix previous help-fns change X-Git-Tag: emacs-28.0.90~1105 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e297c4fbeeb6815d7596792400fb4754b33c0672;p=emacs.git Fix previous help-fns change * lisp/help-fns.el (help-fns--run-describe-functions): Fix the test for whether the function inserted anything. --- diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 756eb83b503..3f1b56c888d 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)))