diff options
| author | Chong Yidong | 2011-08-09 17:14:11 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-08-09 17:14:11 -0400 |
| commit | ebb552ed380b9f04e0c6b29374b3d32435837951 (patch) | |
| tree | efdcadfb8076bfcc31a02e7225b2ec7ee651bcb2 /doc | |
| parent | 839dde57161c56f03ec4fbcba9e1b26d0924b8fd (diff) | |
| download | emacs-ebb552ed380b9f04e0c6b29374b3d32435837951.tar.gz emacs-ebb552ed380b9f04e0c6b29374b3d32435837951.zip | |
Note in Lisp manual that mouse-face cannot change the text size.
* doc/lispref/text.texi (Special Properties):
* doc/lispref/display.texi (Overlay Properties): Note that mouse-face cannot
change the text size.
Fixes: debbugs:8530
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 5 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 5 |
3 files changed, 15 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index bf170100922..5bdc17136e1 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-08-09 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * text.texi (Special Properties): | ||
| 4 | * display.texi (Overlay Properties): Note that mouse-face cannot | ||
| 5 | change the text size (Bug#8530). | ||
| 6 | |||
| 1 | 2011-08-08 Chong Yidong <cyd@stupidchicken.com> | 7 | 2011-08-08 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 8 | ||
| 3 | * os.texi (Time of Day): Remove set-time-zone-rule, and recommend | 9 | * os.texi (Time of Day): Remove set-time-zone-rule, and recommend |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 077d0992232..64a9054f596 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -1454,7 +1454,10 @@ specify just the foreground color or just the background color. | |||
| 1454 | @item mouse-face | 1454 | @item mouse-face |
| 1455 | @kindex mouse-face @r{(overlay property)} | 1455 | @kindex mouse-face @r{(overlay property)} |
| 1456 | This property is used instead of @code{face} when the mouse is within | 1456 | This property is used instead of @code{face} when the mouse is within |
| 1457 | the range of the overlay. | 1457 | the range of the overlay. However, Emacs ignores all face attributes |
| 1458 | from this property that alter the text size (e.g. @code{:height}, | ||
| 1459 | @code{:weight}, and @code{:slant}). Those attributes are always the | ||
| 1460 | same as in the unhighlighted text. | ||
| 1458 | 1461 | ||
| 1459 | @item display | 1462 | @item display |
| 1460 | @kindex display @r{(overlay property)} | 1463 | @kindex display @r{(overlay property)} |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index b91afb044f0..2348e3706dc 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -3015,6 +3015,11 @@ near the character. For this purpose, ``near'' means that all text | |||
| 3015 | between the character and where the mouse is have the same | 3015 | between the character and where the mouse is have the same |
| 3016 | @code{mouse-face} property value. | 3016 | @code{mouse-face} property value. |
| 3017 | 3017 | ||
| 3018 | Emacs ignores all face attributes from the @code{mouse-face} property | ||
| 3019 | that alter the text size (e.g. @code{:height}, @code{:weight}, and | ||
| 3020 | @code{:slant}). Those attributes are always the same as for the | ||
| 3021 | unhighlighted text. | ||
| 3022 | |||
| 3018 | @item fontified | 3023 | @item fontified |
| 3019 | @kindex fontified @r{(text property)} | 3024 | @kindex fontified @r{(text property)} |
| 3020 | This property says whether the text is ready for display. If | 3025 | This property says whether the text is ready for display. If |