From e297c4fbeeb6815d7596792400fb4754b33c0672 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 8 Sep 2021 10:13:47 +0200 Subject: [PATCH] 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 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))) -- 2.39.2