Skip to content

Commit 33c971a

Browse files
committed
fix(selection-highlight): require color before using color-*-name
1 parent fb4cd11 commit 33c971a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/me-editor.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
(with-eval-after-load 'selection-highlight-mode
108108
(with-eval-after-load 'isearch
109109
(when (display-graphic-p)
110+
(require 'color)
110111
(set-face-background
111112
'selection-highlight-mode-match-face
112113
(funcall (if (eq 'light (frame-parameter nil 'background-mode)) #'color-lighten-name #'color-darken-name)

0 commit comments

Comments
 (0)