diff options
| author | Alan Mackenzie | 2019-07-22 14:57:41 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2019-07-22 14:57:41 +0000 |
| commit | 05924677f065c019bdbceeced995ae806f2e243c (patch) | |
| tree | 527089c23f4d0376f612be846ecf48552fc07356 | |
| parent | 150bdfe43acde8423612cbff4eafbbb88878b497 (diff) | |
| download | emacs-05924677f065c019bdbceeced995ae806f2e243c.tar.gz emacs-05924677f065c019bdbceeced995ae806f2e243c.zip | |
* doc/lispref/display.texi (Defining Faces): Say a face can't be undefined.
| -rw-r--r-- | doc/lispref/display.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 276d60b21a7..9eb406b3c6a 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -2476,6 +2476,11 @@ face name. In the vast majority of cases, this is not necessary; the | |||
| 2476 | usual procedure is to define a face with @code{defface}, and then use | 2476 | usual procedure is to define a face with @code{defface}, and then use |
| 2477 | its name directly. | 2477 | its name directly. |
| 2478 | 2478 | ||
| 2479 | @cindex face (non-removability of) | ||
| 2480 | Note that once you have defined a face (usually with @code{defface}), | ||
| 2481 | you cannot later undefine this face safely, except by restarting | ||
| 2482 | Emacs. | ||
| 2483 | |||
| 2479 | @defmac defface face spec doc [keyword value]@dots{} | 2484 | @defmac defface face spec doc [keyword value]@dots{} |
| 2480 | This macro declares @var{face} as a named face whose default face spec | 2485 | This macro declares @var{face} as a named face whose default face spec |
| 2481 | is given by @var{spec}. You should not quote the symbol @var{face}, | 2486 | is given by @var{spec}. You should not quote the symbol @var{face}, |