aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/facemenu.el28
1 files changed, 17 insertions, 11 deletions
diff --git a/lisp/facemenu.el b/lisp/facemenu.el
index 3c43bfbad7a..eaaf4dacd72 100644
--- a/lisp/facemenu.el
+++ b/lisp/facemenu.el
@@ -134,18 +134,24 @@ just before \"Other\" at the end."
134 134
135(defcustom facemenu-listed-faces nil 135(defcustom facemenu-listed-faces nil
136 "*List of faces to include in the Face menu. 136 "*List of faces to include in the Face menu.
137Each element should be a symbol, which is the name of a face. 137Each element should be a symbol, the name of a face.
138The \"basic \" faces in `facemenu-keybindings' are automatically 138The \"basic \" faces in `facemenu-keybindings' are automatically
139added to the Face menu, and are not included in this list. 139added to the Face menu, and need not be in this list.
140 140
141You can set this list before loading facemenu.el, or add a face to it before 141This value takes effect when you load facemenu.el. If the
142creating that face if you want it to be listed. If you change the 142list includes symbols which are not defined as faces, they
143variable so as to eliminate faces that have already been added to the menu, 143are ignored; however, subsequently defining or creating
144call `facemenu-update' to recalculate the menu contents. 144those faces adds them to the menu then. You can call
145 145`facemenu-update' to recalculate the menu contents, such as
146If this variable is t, all faces will be added to the menu. This 146if you change the value of this variable,
147is useful for setting temporarily if you want to add faces to the 147
148menu when they are created." 148If this variable is t, all faces that you apply to text
149using the face menu commands (even by name), and all faces
150that you define or create, are added to the menu. You may
151find it useful to set this variable to t temporarily while
152you define some faces, so that they will be added. However,
153if the value is no longer t and you call `facemenu-update',
154it will remove any faces not explicitly in the list."
149 :type '(choice (const :tag "List all faces" t) 155 :type '(choice (const :tag "List all faces" t)
150 (const :tag "None" nil) 156 (const :tag "None" nil)
151 (repeat symbol)) 157 (repeat symbol))