emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105828: * lisp/info.el (Info-file-su


From: Juri Linkov
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105828: * lisp/info.el (Info-file-supports-index-cookies): Increment
Date: Sun, 18 Sep 2011 22:49:13 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105828
fixes bug(s): http://debbugs.gnu.org/4142
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Sun 2011-09-18 22:49:13 +0300
message:
  * 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.
modified:
  lisp/ChangeLog
  lisp/info.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-09-18 18:10:01 +0000
+++ b/lisp/ChangeLog    2011-09-18 19:49:13 +0000
@@ -1,3 +1,9 @@
+2011-09-18  Juri Linkov  <address@hidden>
+
+       * 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  <address@hidden>
 
        * newcomment.el (comment-normalize-vars): If prompting for

=== modified file 'lisp/info.el'
--- a/lisp/info.el      2011-09-11 18:30:07 +0000
+++ b/lisp/info.el      2011-09-18 19:49:13 +0000
@@ -540,7 +540,7 @@
          (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))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]