diff options
| author | Kim F. Storm | 2004-09-14 19:57:52 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-09-14 19:57:52 +0000 |
| commit | 8d413c2b6be84d73e84b1a22e00992224d16bbb0 (patch) | |
| tree | a71575123083c32b3952a8ec621621fd291d5221 | |
| parent | be8122465922b81d5dbebf9426a79c9acf27f17c (diff) | |
| download | emacs-8d413c2b6be84d73e84b1a22e00992224d16bbb0.tar.gz emacs-8d413c2b6be84d73e84b1a22e00992224d16bbb0.zip | |
(cursor): Add face-no-inherit property. Doc fix.
| -rw-r--r-- | lisp/faces.el | 4 |
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." | |||
| 1924 | 1924 | ||
| 1925 | 1925 | ||
| 1926 | (defface cursor '() | 1926 | (defface cursor '() |
| 1927 | "Basic face for the cursor color under X." | 1927 | "Basic face for the cursor color under X. |
| 1928 | Note: Other faces cannot inherit from the cursor face." | ||
| 1928 | :version "21.1" | 1929 | :version "21.1" |
| 1929 | :group 'cursor | 1930 | :group 'cursor |
| 1930 | :group 'basic-faces) | 1931 | :group 'basic-faces) |
| 1931 | 1932 | ||
| 1933 | (put 'cursor 'face-no-inherit t) | ||
| 1932 | 1934 | ||
| 1933 | (defface mouse '() | 1935 | (defface mouse '() |
| 1934 | "Basic face for the mouse color under X." | 1936 | "Basic face for the mouse color under X." |