Skip to content

Commit

Permalink
Fix duplicated prefix path in imenu entries (#1494)
Browse files Browse the repository at this point in the history
from bcc32/imenu-fix-duplicate-prefix-path
  • Loading branch information
voodoos authored Jun 30, 2022
2 parents 4fa6e5f + aa6dd6a commit 2e00671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ unreleased
- emacs: Make the prefix argument to `merlin-locate` optional, both for
consistency with Emacs convention and for backwards compatibility. (#1476,
@antalsz)
- emacs: fix duplicated prefix path in imenu entries (#1495, @bcc32)

merlin 4.5
==========
Expand Down
2 changes: 1 addition & 1 deletion emacs/merlin-imenu.el
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
((string= kind "Exn")
(setq merlin-imenu--exception-list (cons marker merlin-imenu--exception-list))))
(when sub-trees
(merlin-imenu-parse-outline (concat prefix entry ".") sub-trees)))))
(merlin-imenu-parse-outline (concat entry ".") sub-trees)))))

(defun merlin-imenu-create-index ()
"Create data for imenu using the merlin outline feature."
Expand Down

0 comments on commit 2e00671

Please sign in to comment.