branch: elpa/helm
commit f948dc4464d3a02eebd5b75d75a8cd811c18b271
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Define a face for helm-dim-prompt-on-update
---
 helm-core.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/helm-core.el b/helm-core.el
index aa81cb3d9d..2b0802b442 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -1281,6 +1281,11 @@ Allow specifying the height of this line."
   `((t :inherit default))
   "Face for string `helm-visible-mark-prefix'."
   :group 'helm-faces)
+
+(defface helm-dim-prompt
+  `((t :inherit shadow))
+  "Face used for shadowing prompt while updating."
+  :group 'helm-faces)
 
 ;;; Variables.
 ;;
@@ -5185,7 +5190,7 @@ Argument OVERLAY is a ref-cell."
              (consp overlay)) ;; Ensure OVERLAY is a ref-cell.
     (with-selected-window (minibuffer-window)
       (setcar overlay (make-overlay (minibuffer-prompt-end) (point-max)))
-      (overlay-put (car overlay) 'face '(:foreground "DimGray"))
+      (overlay-put (car overlay) 'face 'helm-dim-prompt)
       (redisplay))))
 
 (defun helm-update-source-p (source)

Reply via email to