diff options
Diffstat (limited to 'helm-semantic.el')
-rw-r--r-- | helm-semantic.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-semantic.el b/helm-semantic.el index 1672df25..9f4720cb 100644 --- a/helm-semantic.el +++ b/helm-semantic.el @@ -208,7 +208,7 @@ Fill in the symbol at point by default." (format "\\_<%s\\_>" (car (semantic-current-tag)))))) (helm :sources source :candidate-number-limit 9999 - :default (and imenu-p (list (concat "\\_<" str "\\_>") str)) + :default (and imenu-p (list (concat "\\_<" (and str (regexp-quote str)) "\\_>") str)) :preselect (if (or arg imenu-p) str tag) :buffer "*helm semantic/imenu*"))) |