summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2010-03-03 21:23:20 +0200
committerJuri Linkov <juri@jurta.org>2010-03-03 21:23:20 +0200
commit3bc71084dd6371bb4a0e76a72fb5627e9476e7a5 (patch)
tree727bb39ccfe0ed275bff6edc2fcb50e85b367408 /lisp
parent233f0c9f8786570011d784056a65c5195fb6020f (diff)
downloademacs-3bc71084dd6371bb4a0e76a72fb5627e9476e7a5.tar.gz
Add a comment for the previous commit.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/info.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 690fa4ff8e0..a1ce05d6292 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -3062,6 +3062,8 @@ Give an empty topic name to go to the Index node itself."
num (1- num)))
(Info-goto-node (nth 1 (car Info-index-alternatives)))
(if (> (nth 3 (car Info-index-alternatives)) 0)
+ ;; Forward 2 lines less because `Info-find-node-2' initially
+ ;; puts point to the 2nd line.
(forward-line (- (nth 3 (car Info-index-alternatives)) 2))
(forward-line 3) ; don't search in headers
(let ((name (car (car Info-index-alternatives))))