diff options
author | Glenn Morris <rgm@gnu.org> | 2013-01-24 20:41:39 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-01-24 20:41:39 -0800 |
commit | 830e46e61ba1316e771c72a15e709d3d12e150b7 (patch) | |
tree | c88c21c32f65dc77d8f76c315a41a519a585dc8f /lisp/imenu.el | |
parent | 3d4147bae3f03502acb3d12a5c9747129cc0c6aa (diff) | |
parent | 345f866e048bdc11bc38d894a7eaaa47335443e2 (diff) | |
download | emacs-830e46e61ba1316e771c72a15e709d3d12e150b7.tar.gz |
Merge from emacs-24; up to 2012-12-11T18:52:31Z!monnier@iro.umontreal.ca
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 f64d1afe951..ba0275099a1 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))) |