emacs-diffs
[Top][All Lists]
Advanced

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

master 334fa0c91d 2/2: Restore `with-help-window' return code


From: Lars Ingebrigtsen
Subject: master 334fa0c91d 2/2: Restore `with-help-window' return code
Date: Fri, 13 May 2022 22:14:02 -0400 (EDT)

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

    Restore `with-help-window' return code
    
    * lisp/help.el (help--window-setup): Return the correct thing.
---
 lisp/help.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/help.el b/lisp/help.el
index 8727b60bfd..ae65cc07df 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1966,8 +1966,9 @@ The `temp-buffer-window-setup-hook' hook is called."
       (delete-all-overlays)
       (prog1
           (let ((standard-output (current-buffer)))
-            (funcall callback)
-            (run-hooks 'temp-buffer-window-setup-hook))
+            (prog1
+                (funcall callback)
+              (run-hooks 'temp-buffer-window-setup-hook)))
         (help-window-setup (temp-buffer-window-show (current-buffer)))
         (help-make-xrefs (current-buffer))))))
 



reply via email to

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