summaryrefslogtreecommitdiff
path: root/lisp/macros.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/macros.el')
-rw-r--r--lisp/macros.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/macros.el b/lisp/macros.el
index 974b19a394..d27a5b752a 100644
--- a/lisp/macros.el
+++ b/lisp/macros.el
@@ -209,8 +209,7 @@ Possibilities: \\<query-replace-map>
\\[exit] Stop the macro entirely right now.
\\[recenter] Redisplay the screen, then ask again.
\\[edit] Enter recursive edit; ask again when you exit from that."))
- (save-excursion
- (set-buffer standard-output)
+ (with-current-buffer standard-output
(help-mode)))))))))))
;;;###autoload