]> git.eshelyaron.com Git - emacs.git/commitdiff
Restore `with-help-window' return code
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 May 2022 02:13:44 +0000 (04:13 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 May 2022 02:13:56 +0000 (04:13 +0200)
* lisp/help.el (help--window-setup): Return the correct thing.

lisp/help.el

index 8727b60bfdc33ece144d47d575beaa291950a57d..ae65cc07dfab0725de903fbc4ff893c0639e6ed5 100644 (file)
@@ -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))))))