diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2020-08-02 20:15:27 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2020-08-02 20:15:27 +0200 |
commit | 0942091583a512e750b091af41c554edde440574 (patch) | |
tree | 08a3e19e81ada0e6c95d28ebeb4233cbcb9c2569 /helm-semantic.el | |
parent | 2b6888961f13f5de36c902df74d724346d84f7b8 (diff) |
Remove user variable
helm-imenu-highlight-matches-around-point-max-lines (#2354)
Now value of helm-highlight-matches-around-point-max-lines is let-bounded to
'never in all relevant functions.
Diffstat (limited to 'helm-semantic.el')
-rw-r--r-- | helm-semantic.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/helm-semantic.el b/helm-semantic.el index ceb0f456..a64ca3eb 100644 --- a/helm-semantic.el +++ b/helm-semantic.el @@ -174,8 +174,7 @@ If ARG is supplied, pre-select symbol at point instead of current." (cons (format "\\_<%s\\_>" it) (format "\\_<%s\\_>" curtag)))) (format "\\_<%s\\_>" (car (semantic-current-tag))))) - (helm-highlight-matches-around-point-max-lines - helm-imenu-highlight-matches-around-point-max-lines)) + (helm-highlight-matches-around-point-max-lines 'never)) (unless helm-source-semantic (setq helm-source-semantic (helm-make-source "Semantic Tags" 'helm-semantic-source @@ -208,8 +207,7 @@ Fill in the symbol at point by default." (let* ((source (if (semantic-active-p) 'helm-source-semantic 'helm-source-imenu)) - (helm-highlight-matches-around-point-max-lines - helm-imenu-highlight-matches-around-point-max-lines) + (helm-highlight-matches-around-point-max-lines 'never) (imenu-p (eq source 'helm-source-imenu)) (imenu-auto-rescan imenu-p) (str (thing-at-point 'symbol)) |