diff options
author | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2013-01-23 18:55:46 -0300 |
---|---|---|
committer | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2013-01-23 18:55:46 -0300 |
commit | ddc62155d24b9a9e24177bd5f13934e0d5b23159 (patch) | |
tree | 9779edc19a9757af09cc27ac409968c9b6c750cb /lisp/imenu.el | |
parent | 267eacb5e3ef38b6e1ac70ee5e1922f58d764f15 (diff) | |
download | emacs-ddc62155d24b9a9e24177bd5f13934e0d5b23159.tar.gz |
* imenu.el (imenu-default-create-index-function): Remove useless
infinite loop check.
Fixes: debbugs:13438
Diffstat (limited to 'lisp/imenu.el')
-rw-r--r-- | lisp/imenu.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el index 80dacf937df..b72cbeb42b4 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -683,8 +683,6 @@ The alternate method, which is the one most often used, is to call (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))) |