summaryrefslogtreecommitdiff
path: root/lisp/help-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/help-mode.el')
-rw-r--r--lisp/help-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index 641738770a2..7c032b81cf2 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -413,7 +413,8 @@ A special reference `back' is made to return back through a stack of
help buffers. Variable `help-back-label' specifies the text for
that."
(interactive "b")
- (with-current-buffer (or buffer (current-buffer))
+ (save-excursion
+ (set-buffer (or buffer (current-buffer)))
(goto-char (point-min))
;; Skip the header-type info, though it might be useful to parse
;; it at some stage (e.g. "function in `library'").