changeset 57105:8f14c8ea51a1

(cursor): Add face-no-inherit property. Doc fix.
author Kim F. Storm <storm@cua.dk>
date Tue, 14 Sep 2004 19:57:52 +0000
parents 27d26db0f6b1
children a2a253587c91
files lisp/faces.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/faces.el	Tue Sep 14 19:53:59 2004 +0000
+++ b/lisp/faces.el	Tue Sep 14 19:57:52 2004 +0000
@@ -1924,11 +1924,13 @@
 
 
 (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."