emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111196: * imenu.el (imenu-default


From: Fabián Ezequiel Gallina
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111196: * imenu.el (imenu-default-create-index-function): Remove useless
Date: Wed, 23 Jan 2013 18:55:46 -0300
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111196
fixes bug: http://debbugs.gnu.org/13438
committer: Fabián Ezequiel Gallina <address@hidden>
branch nick: emacs-24
timestamp: Wed 2013-01-23 18:55:46 -0300
message:
  * imenu.el (imenu-default-create-index-function): Remove useless
  infinite loop check.
modified:
  lisp/ChangeLog
  lisp/imenu.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-01-23 18:58:11 +0000
+++ b/lisp/ChangeLog    2013-01-23 21:55:46 +0000
@@ -1,3 +1,8 @@
+2013-01-23  Fabián Ezequiel Gallina  <address@hidden>
+
+       * imenu.el (imenu-default-create-index-function): Remove useless
+       infinite loop check.  (Bug#13438)
+
 2013-01-23  Alan Mackenzie  <address@hidden>
 
        Fix a bug in the state cache mechanism.  Refactor this a bit.

=== modified file 'lisp/imenu.el'
--- a/lisp/imenu.el     2013-01-01 09:11:05 +0000
+++ b/lisp/imenu.el     2013-01-23 21:55:46 +0000
@@ -683,8 +683,6 @@
           (goto-char (point-max))
           ;; Search for the function
           (while (funcall imenu-prev-index-position-function)
-             (when (= pos (point))
-               (error "Infinite loop at %s:%d: 
imenu-prev-index-position-function does not move point" (buffer-name) pos))
              (setq pos (point))
             (save-excursion
               (setq name (funcall imenu-extract-index-name-function)))


reply via email to

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