From: Lars Ingebrigtsen Date: Mon, 24 Jan 2022 19:14:15 +0000 (+0100) Subject: Make hi-lock-face-defaults into a defcustom X-Git-Tag: emacs-29.0.90~2775 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=422b0f2a505e6e0af9500e4014f3b12c337888a5;p=emacs.git Make hi-lock-face-defaults into a defcustom * lisp/hi-lock.el (hi-lock-face-defaults): Make into defcustom. --- 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.")