Skip to content

Commit

Permalink
* helm-imenu.el (helm-imenu): Issue #141 Fix use of helm-imenu with s…
Browse files Browse the repository at this point in the history
…emantic enabled (thanks tam17aki).
  • Loading branch information
Thierry Volpiatto committed Oct 27, 2012
1 parent 3d9630f commit 8c5223b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions helm-imenu.el
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,12 @@
"Preconfigured `helm' for `imenu'."
(interactive)
(let ((imenu-auto-rescan t)
(imenu-default-goto-function 'imenu-default-goto-function))
(imenu-default-goto-function
(if (fboundp 'semantic-imenu-goto-function)
'semantic-imenu-goto-function
'imenu-default-goto-function)))
(helm :sources 'helm-c-source-imenu
:buffer "*helm imenu*")))
:buffer "*helm imenu*")))

(provide 'helm-imenu)

Expand Down

0 comments on commit 8c5223b

Please sign in to comment.