diff options
| -rw-r--r-- | lisp/facemenu.el | 28 |
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. |
| 137 | Each element should be a symbol, which is the name of a face. | 137 | Each element should be a symbol, the name of a face. |
| 138 | The \"basic \" faces in `facemenu-keybindings' are automatically | 138 | The \"basic \" faces in `facemenu-keybindings' are automatically |
| 139 | added to the Face menu, and are not included in this list. | 139 | added to the Face menu, and need not be in this list. |
| 140 | 140 | ||
| 141 | You can set this list before loading facemenu.el, or add a face to it before | 141 | This value takes effect when you load facemenu.el. If the |
| 142 | creating that face if you want it to be listed. If you change the | 142 | list includes symbols which are not defined as faces, they |
| 143 | variable so as to eliminate faces that have already been added to the menu, | 143 | are ignored; however, subsequently defining or creating |
| 144 | call `facemenu-update' to recalculate the menu contents. | 144 | those faces adds them to the menu then. You can call |
| 145 | 145 | `facemenu-update' to recalculate the menu contents, such as | |
| 146 | If this variable is t, all faces will be added to the menu. This | 146 | if you change the value of this variable, |
| 147 | is useful for setting temporarily if you want to add faces to the | 147 | |
| 148 | menu when they are created." | 148 | If this variable is t, all faces that you apply to text |
| 149 | using the face menu commands (even by name), and all faces | ||
| 150 | that you define or create, are added to the menu. You may | ||
| 151 | find it useful to set this variable to t temporarily while | ||
| 152 | you define some faces, so that they will be added. However, | ||
| 153 | if the value is no longer t and you call `facemenu-update', | ||
| 154 | it 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)) |