summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2019-07-22 14:57:41 +0000
committerAlan Mackenzie <acm@muc.de>2019-07-22 14:57:41 +0000
commit05924677f065c019bdbceeced995ae806f2e243c (patch)
tree527089c23f4d0376f612be846ecf48552fc07356
parent150bdfe43acde8423612cbff4eafbbb88878b497 (diff)
downloademacs-05924677f065c019bdbceeced995ae806f2e243c.tar.gz
* doc/lispref/display.texi (Defining Faces): Say a face can't be undefined.
-rw-r--r--doc/lispref/display.texi5
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
usual procedure is to define a face with @code{defface}, and then use
its name directly.
+@cindex face (non-removability of)
+Note that once you have defined a face (usually with @code{defface}),
+you cannot later undefine this face safely, except by restarting
+Emacs.
+
@defmac defface face spec doc [keyword value]@dots{}
This macro declares @var{face} as a named face whose default face spec
is given by @var{spec}. You should not quote the symbol @var{face},