infinite loop check.
Fixes: debbugs:13438
+2013-01-23 Fabián Ezequiel Gallina <fgallina@cuca>
+
+ * imenu.el (imenu-default-create-index-function): Remove useless
+ infinite loop check. (Bug#13438)
+
2013-01-23 Alan Mackenzie <acm@muc.de>
Fix a bug in the state cache mechanism. Refactor this a bit.
(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)))