Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ddc62155
Commit
ddc62155
authored
Jan 23, 2013
by
Fabián Ezequiel Gallina
Browse files
* imenu.el (imenu-default-create-index-function): Remove useless
infinite loop check. Fixes: debbugs:13438
parent
267eacb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/imenu.el
lisp/imenu.el
+0
-2
No files found.
lisp/ChangeLog
View file @
ddc62155
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.
...
...
lisp/imenu.el
View file @
ddc62155
...
...
@@ -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
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment