diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-24 20:14:15 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-24 20:18:22 +0100 |
commit | 422b0f2a505e6e0af9500e4014f3b12c337888a5 (patch) | |
tree | ab13bb5e7adeba6a1e25185c7cd9be94edd6878c | |
parent | 7f7b418ae6321b2164e616941f77a498fb222b57 (diff) | |
download | emacs-422b0f2a505e6e0af9500e4014f3b12c337888a5.tar.gz |
Make hi-lock-face-defaults into a defcustom
* lisp/hi-lock.el (hi-lock-face-defaults): Make into defcustom.
-rw-r--r-- | lisp/hi-lock.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index 0f5409ef43d..0934eef8ed7 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -235,10 +235,12 @@ by cycling through the faces in `hi-lock-face-defaults'." "Human-readable lighters for `hi-lock-interactive-patterns'.") (put 'hi-lock-interactive-lighters 'permanent-local t) -(defvar hi-lock-face-defaults +(defcustom hi-lock-face-defaults '("hi-yellow" "hi-pink" "hi-green" "hi-blue" "hi-salmon" "hi-aquamarine" "hi-black-b" "hi-blue-b" "hi-red-b" "hi-green-b" "hi-black-hb") - "Default faces for hi-lock interactive functions.") + "Default face names for hi-lock interactive functions." + :type '(repeat string) + :version "29.1") (defvar hi-lock-file-patterns-prefix "Hi-lock" "String used to identify hi-lock patterns at the start of files.") |