]> git.eshelyaron.com Git - emacs.git/commitdiff
Make hi-lock-face-defaults into a defcustom
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 Jan 2022 19:14:15 +0000 (20:14 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 Jan 2022 19:18:22 +0000 (20:18 +0100)
* lisp/hi-lock.el (hi-lock-face-defaults): Make into defcustom.

lisp/hi-lock.el

index 0f5409ef43d5e68c3ebd983d30dcf3c62b6b592f..0934eef8ed74ba41e32763721654fc231fb0c880 100644 (file)
@@ -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.")