summaryrefslogtreecommitdiff
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2011-10-18 02:17:05 -0400
committerChong Yidong <cyd@gnu.org>2011-10-18 02:17:05 -0400
commit08b0fee82afa6153e14179b60e8315219782507a (patch)
treec88cc226cc759f40e70b5aaf09d76afcd8101108 /lisp/faces.el
parent743d0817bcb3df7e3d86d414fd29b1553695f9f5 (diff)
downloademacs-08b0fee82afa6153e14179b60e8315219782507a.tar.gz
* lisp/faces.el (cursor): Doc fix.
Also, remove the :foreground attributes from cursor faces in built-in themes, since that attribute is unmeaningful.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index d5f0ef90ee0..45173eb35da 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2366,6 +2366,10 @@ used to display the prompt text."
'((((background light)) :background "black")
(((background dark)) :background "white"))
"Basic face for the cursor color under X.
+Currently, only the `:background' attribute is meaningful; all
+other attributes are ignored. The cursor foreground color is
+taken from the background color of the underlying text.
+
Note: Other faces cannot inherit from the cursor face."
:version "21.1"
:group 'cursor