* info.el (Info-index-next): Decrement line number by 2. (Bug#5652)

This commit is contained in:
Juri Linkov 2010-03-02 23:15:46 +02:00
parent 75f80e63ca
commit 7187cdaef8
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2010-03-02 Juri Linkov <juri@jurta.org>
* info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
2010-03-02 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an

View file

@ -3062,7 +3062,7 @@ 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-line (1- (nth 3 (car Info-index-alternatives))))
(forward-line (- (nth 3 (car Info-index-alternatives)) 2))
(forward-line 3) ; don't search in headers
(let ((name (car (car Info-index-alternatives))))
(Info-find-index-name name)))