summaryrefslogtreecommitdiff
path: root/helm-utils.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2020-06-29 18:28:36 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2020-06-29 19:23:58 +0200
commitd19592f593755a0d3daf09b4312daa0731d01dd6 (patch)
treef4f0f441b39cdbe844650b3261c18a866ae964d9 /helm-utils.el
parent4ca209bf5f217d883b948b1655466b34dcd8bc87 (diff)
Use :extend attr in all defface
Diffstat (limited to 'helm-utils.el')
-rw-r--r--helm-utils.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/helm-utils.el b/helm-utils.el
index 9de5856d..a39dae11 100644
--- a/helm-utils.el
+++ b/helm-utils.el
@@ -211,12 +211,14 @@ last position is added to the register `helm-save-pos-before-jump-register'.")
;;; Faces.
;;
(defface helm-selection-line
- '((t (:inherit highlight :distant-foreground "black")))
+ `((t ,@(and (>= emacs-major-version 27) '(:extend t))
+ :inherit highlight :distant-foreground "black"))
"Face used in the `helm-current-buffer' when jumping to a candidate."
:group 'helm-faces)
(defface helm-match-item
- '((t (:inherit isearch)))
+ `((t ,@(and (>= emacs-major-version 27) '(:extend t))
+ :inherit isearch))
"Face used to highlight the item matched in a selected line."
:group 'helm-faces)