From 8d413c2b6be84d73e84b1a22e00992224d16bbb0 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 14 Sep 2004 19:57:52 +0000 Subject: [PATCH] (cursor): Add face-no-inherit property. Doc fix. --- lisp/faces.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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." -- 2.39.2