]> git.eshelyaron.com Git - emacs.git/commitdiff
(cursor): Add face-no-inherit property. Doc fix.
authorKim F. Storm <storm@cua.dk>
Tue, 14 Sep 2004 19:57:52 +0000 (19:57 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 14 Sep 2004 19:57:52 +0000 (19:57 +0000)
lisp/faces.el

index 06cf16e79c267644b404f9a00f4471d51e920891..8f9d6a50ee321aa5d53c1adf78b57f6b6c8cb9cb 100644 (file)
@@ -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."