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-imenu.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-imenu.el')
-rw-r--r-- | helm-imenu.el | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/helm-imenu.el b/helm-imenu.el index 498a7e29..06cd7982 100644 --- a/helm-imenu.el +++ b/helm-imenu.el @@ -84,11 +84,6 @@ string." "Extra modes where `helm-imenu-in-all-buffers' should look into." :group 'helm-imenu :type '(repeat symbol)) - -(defcustom helm-imenu-highlight-matches-around-point-max-lines 'never - "Same as `highlight-matches-around-point-max-lines' but for imenu." - :group 'helm-imenu - :type 'integer) ;;; keymap (defvar helm-imenu-map @@ -325,8 +320,7 @@ string." (helm-make-source "Imenu" 'helm-imenu-source :fuzzy-match helm-imenu-fuzzy-match))) (let* ((imenu-auto-rescan t) - (helm-highlight-matches-around-point-max-lines - helm-imenu-highlight-matches-around-point-max-lines) + (helm-highlight-matches-around-point-max-lines 'never) (str (thing-at-point 'symbol)) (init-reg (and str (concat "\\_<" (regexp-quote str) "\\_>"))) (helm-execute-action-at-once-if-one @@ -359,8 +353,7 @@ i.e. `derived-mode-p' or it have an association in :candidates 'helm-imenu--in-all-buffers-cache :fuzzy-match helm-imenu-fuzzy-match)))) (let* ((imenu-auto-rescan t) - (helm-highlight-matches-around-point-max-lines - helm-imenu-highlight-matches-around-point-max-lines) + (helm-highlight-matches-around-point-max-lines 'never) (str (thing-at-point 'symbol)) (init-reg (and str (concat "\\_<" (regexp-quote str) "\\_>"))) (helm-execute-action-at-once-if-one |