branch: elpa/material-theme
commit b841159059595e56840a40279967774a48506349
Author: Anurag Mishra <[email protected]>
Commit: Anurag Mishra <[email protected]>
Replace `isearch-lazy-hightlight-face'
`isearch-lazy-hightlight-face' was declared obsolete in Emacs 22.1 and was
removed from Emacs 25.1 in favor of `lazy-hightlight'. Thus, search
highlighting
had no effect. This fixes the issue.
---
material-light-theme.el | 5 ++---
material-theme.el | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/material-light-theme.el b/material-light-theme.el
index d6dd77f..86d02bf 100644
--- a/material-light-theme.el
+++ b/material-light-theme.el
@@ -180,8 +180,7 @@
;; Search
`(match ((,class (:foreground ,background :background ,green :inverse-video
nil))))
`(isearch ((,class (:foreground ,background :background ,green))))
- `(isearch-lazy-highlight-face ((,class (:foreground ,background :background
,green :inverse-video nil))))
- `(lazy-highlight-face ((,class (:foreground ,background :background ,green
:inverse-video nil))))
+ `(lazy-highlight ((,class (:foreground ,background :background ,green
:inverse-video nil))))
`(isearch-fail ((,class (:background ,background :inherit
font-lock-warning-face :inverse-video t))))
;; Evil
@@ -196,7 +195,7 @@
;; Anzu
`(anzu-mode-line ((,class (:foreground ,orange))))
- `(anzu-replace-highlight ((,class (:inherit isearch-lazy-highlight-face))))
+ `(anzu-replace-highlight ((,class (:inherit lazy-highlight))))
`(anzu-replace-to ((,class (:inherit isearch))))
;; IDO
diff --git a/material-theme.el b/material-theme.el
index 61d121a..adc6ec5 100644
--- a/material-theme.el
+++ b/material-theme.el
@@ -177,8 +177,7 @@
;; Search
`(match ((,class (:foreground ,background :background ,green :inverse-video
nil))))
`(isearch ((,class (:foreground ,foreground :background ,green))))
- `(isearch-lazy-highlight-face ((,class (:foreground ,background :background
,green :inverse-video nil))))
- `(lazy-highlight-face ((,class (:foreground ,background :background ,green
:inverse-video nil))))
+ `(lazy-highlight ((,class (:foreground ,background :background ,green
:inverse-video nil))))
`(isearch-fail ((,class (:background ,background :inherit
font-lock-warning-face :inverse-video t))))
;; Evil
@@ -193,7 +192,7 @@
;; Anzu
`(anzu-mode-line ((,class (:foreground ,orange))))
- `(anzu-replace-highlight ((,class (:inherit isearch-lazy-highlight-face))))
+ `(anzu-replace-highlight ((,class (:inherit lazy-highlight))))
`(anzu-replace-to ((,class (:inherit isearch))))
;; IDO