branch: elpa/helm
commit bca8b1b02fd0787e6058de65c4ffd65c221f6c62
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Fix helm-imenu preselection when cursor in already on a definition
---
 helm-imenu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-imenu.el b/helm-imenu.el
index b615a7fc5c..6e68389b64 100644
--- a/helm-imenu.el
+++ b/helm-imenu.el
@@ -309,7 +309,7 @@ The sexp should be an `all-the-icons' function with its 
args."
     (if (equal (cdr cur) mb)
         (prog1 nil
           (helm-set-pattern "")
-          (helm-force-update))
+          (helm-force-update (concat "\\_<" (car cur) "\\_>")))
         t)))
 
 (defun helm-imenu-quit-and-find-file-fn (source)

Reply via email to