From 334fa0c91d55c4397643a529ce33a12df39d2f7f Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 14 May 2022 04:13:44 +0200 Subject: [PATCH] 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 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)))))) -- 2.39.2