(read-face-name): Use it instead of hard-coded string.
(defvar crm-separator) ; from crm.el
+(defconst read-face-name-sample-text "SAMPLE"
+ "Text string to display as the sample text for `read-face-name'.")
+
(defun read-face-name (prompt &optional default multiple)
"Read one or more face names, prompting with PROMPT.
PROMPT should not end in a space or a colon.
(mapcar
(lambda (face)
(list face
- (concat (propertize "SAMPLE" 'face face) "\t")
+ (concat (propertize read-face-name-sample-text
+ 'face face)
+ "\t")
""))
faces))))
aliasfaces nonaliasfaces faces)