[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 0c642d649a 3/4: New user var to allow highlighting ma
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 0c642d649a 3/4: New user var to allow highlighting matches in HFF |
Date: |
Tue, 18 Oct 2022 00:58:52 -0400 (EDT) |
branch: elpa/helm
commit 0c642d649ae8fb6b803f09f25f6ef0b288cfc22f
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
New user var to allow highlighting matches in HFF
---
helm-files.el | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/helm-files.el b/helm-files.el
index d571c2af42..4787084850 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -821,6 +821,15 @@ This can be toggled at any time from
`helm-ff-file-name-history' with \
Note that image files are always followed even if their extensions is
present in this list."
:type '(repeat string))
+
+(defcustom helm-ff-nohighlight-matches t
+ "Highlight matches in `helm-find-files' when nil."
+ :type 'boolean
+ :initialize 'custom-initialize-changed
+ :set (lambda (var val)
+ (set var val)
+ (setq helm-source-find-files nil)
+ (helm-ff-icon-mode helm-ff-icon-mode)))
;;; Faces
;;
@@ -999,7 +1008,7 @@ Should not be used among other sources.")
(volatile :initform t)
(cleanup :initform 'helm-find-files-cleanup)
(migemo :initform t)
- (nohighlight :initform t)
+ (nohighlight :initform (progn helm-ff-nohighlight-matches))
(keymap :initform 'helm-find-files-map)
(candidate-number-limit :initform 'helm-ff-candidate-number-limit)
(action-transformer