mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
* lisp/info.el (Info-file-supports-index-cookies): Increment
line-beginning-position's arg from 3 to 4 because makeinfo outputs one more line for long file names. Fixes: debbugs:4142
This commit is contained in:
parent
3e62b7e004
commit
c9384295aa
@ -1,3 +1,9 @@
|
||||
2011-09-18 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* info.el (Info-file-supports-index-cookies): Increment
|
||||
line-beginning-position's arg from 3 to 4 because makeinfo outputs
|
||||
one more line for long file names (bug#4142).
|
||||
|
||||
2011-09-18 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* newcomment.el (comment-normalize-vars): If prompting for
|
||||
|
@ -540,7 +540,7 @@ in `Info-file-supports-index-cookies-list'."
|
||||
(condition-case ()
|
||||
(if (and (re-search-forward
|
||||
"makeinfo[ \n]version[ \n]\\([0-9]+.[0-9]+\\)"
|
||||
(line-beginning-position 3) t)
|
||||
(line-beginning-position 4) t)
|
||||
(not (version< (match-string 1) "4.7")))
|
||||
(setq found t))
|
||||
(error nil))
|
||||
|
Loading…
Reference in New Issue
Block a user