diff options
| -rw-r--r-- | lisp/faces.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index b765522914d..3a434b3251c 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -1065,6 +1065,9 @@ of the default face. Value is FACE." | |||
| 1065 | 1065 | ||
| 1066 | (defvar crm-separator) ; from crm.el | 1066 | (defvar crm-separator) ; from crm.el |
| 1067 | 1067 | ||
| 1068 | (defconst read-face-name-sample-text "SAMPLE" | ||
| 1069 | "Text string to display as the sample text for `read-face-name'.") | ||
| 1070 | |||
| 1068 | (defun read-face-name (prompt &optional default multiple) | 1071 | (defun read-face-name (prompt &optional default multiple) |
| 1069 | "Read one or more face names, prompting with PROMPT. | 1072 | "Read one or more face names, prompting with PROMPT. |
| 1070 | PROMPT should not end in a space or a colon. | 1073 | PROMPT should not end in a space or a colon. |
| @@ -1115,7 +1118,9 @@ returned. Otherwise, DEFAULT is returned verbatim." | |||
| 1115 | (mapcar | 1118 | (mapcar |
| 1116 | (lambda (face) | 1119 | (lambda (face) |
| 1117 | (list face | 1120 | (list face |
| 1118 | (concat (propertize "SAMPLE" 'face face) "\t") | 1121 | (concat (propertize read-face-name-sample-text |
| 1122 | 'face face) | ||
| 1123 | "\t") | ||
| 1119 | "")) | 1124 | "")) |
| 1120 | faces)))) | 1125 | faces)))) |
| 1121 | aliasfaces nonaliasfaces faces) | 1126 | aliasfaces nonaliasfaces faces) |