]> code.delx.au - gnu-emacs/blobdiff - lisp/imenu.el
* imenu.el (imenu-default-create-index-function): Remove useless
[gnu-emacs] / lisp / imenu.el
index 80dacf937df83a57b10e6341a3ee9d7e7b13b71c..b72cbeb42b4102930169de9bbaa7da023d2d0bfa 100644 (file)
@@ -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)))