summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-11-17 14:48:10 +0800
committerChong Yidong <cyd@gnu.org>2012-11-17 14:48:10 +0800
commit8e7696a18bbfbd9cf2b158b7a633f274fbb2b706 (patch)
treea5543ecc5fb326d766f3a16ae3bfa9fa2996cc55
parentec15e0ff0be9c3ab23d6df93953fc351fb4eb40e (diff)
* help-mode.el (help-xref-interned): End on point-min.
Fixes: debbugs:12737
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/help-mode.el3
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0570703b11d..72192bc79e5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2012-11-17 Chong Yidong <cyd@gnu.org>
+ * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
+
* filecache.el (file-cache-add-file): Handle relative file name in
the argument (Bug#12694).
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index c1ce5a521be..48c5849d301 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -677,7 +677,8 @@ help buffer."
" is also a " "face." "\n\n" facedoc))
;; Don't record the `describe-function' item in the stack.
(setq help-xref-stack-item nil)
- (help-setup-xref (list #'help-xref-interned symbol) nil)))))))
+ (help-setup-xref (list #'help-xref-interned symbol) nil))))
+ (goto-char (point-min)))))
;; Navigation/hyperlinking with xrefs