summaryrefslogtreecommitdiff
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2004-09-14 19:57:52 +0000
committerKim F. Storm <storm@cua.dk>2004-09-14 19:57:52 +0000
commit8d413c2b6be84d73e84b1a22e00992224d16bbb0 (patch)
treea71575123083c32b3952a8ec621621fd291d5221 /lisp/faces.el
parentbe8122465922b81d5dbebf9426a79c9acf27f17c (diff)
downloademacs-8d413c2b6be84d73e84b1a22e00992224d16bbb0.tar.gz
(cursor): Add face-no-inherit property. Doc fix.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 06cf16e79c2..8f9d6a50ee3 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1924,11 +1924,13 @@ created."
(defface cursor '()
- "Basic face for the cursor color under X."
+ "Basic face for the cursor color under X.
+Note: Other faces cannot inherit from the cursor face."
:version "21.1"
:group 'cursor
:group 'basic-faces)
+(put 'cursor 'face-no-inherit t)
(defface mouse '()
"Basic face for the mouse color under X."