From: Lars Ingebrigtsen Date: Sat, 14 May 2022 02:13:44 +0000 (+0200) Subject: Restore `with-help-window' return code X-Git-Tag: emacs-29.0.90~1910^2~711 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=334fa0c91d55c4397643a529ce33a12df39d2f7f;p=emacs.git Restore `with-help-window' return code * lisp/help.el (help--window-setup): Return the correct thing. --- diff --git a/lisp/help.el b/lisp/help.el index 8727b60bfdc..ae65cc07dfa 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))))))