summaryrefslogtreecommitdiff
path: root/helm-occur.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-occur.el
parent4ca209bf5f217d883b948b1655466b34dcd8bc87 (diff)
Use :extend attr in all defface
Diffstat (limited to 'helm-occur.el')
-rw-r--r--helm-occur.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/helm-occur.el b/helm-occur.el
index 56dbe73d..1303a063 100644
--- a/helm-occur.el
+++ b/helm-occur.el
@@ -120,12 +120,14 @@ Note that when using `buffer-substring' initialization will be slower."
(defface helm-moccur-buffer
- '((t (:foreground "DarkTurquoise" :underline t)))
+ `((t ,@(and (>= emacs-major-version 27) '(:extend t))
+ (:foreground "DarkTurquoise" :underline t)))
"Face used to highlight occur buffer names."
:group 'helm-occur)
(defface helm-resume-need-update
- '((t (:background "red")))
+ `((t ,@(and (>= emacs-major-version 27) '(:extend t))
+ (:background "red")))
"Face used to flash occur buffer when it needs update."
:group 'helm-occur)