emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/helm bca8b1b02f: Fix helm-imenu preselection when cursor i


From: ELPA Syncer
Subject: [nongnu] elpa/helm bca8b1b02f: Fix helm-imenu preselection when cursor in already on a definition
Date: Sun, 4 Jun 2023 07:01:45 -0400 (EDT)

branch: elpa/helm
commit bca8b1b02fd0787e6058de65c4ffd65c221f6c62
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@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

[Prev in Thread] Current Thread [Next in Thread]