summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-08-09 17:14:11 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-08-09 17:14:11 -0400
commit3f3944ac00abb4fd2bb7bff1eb268e5860f85062 (patch)
treeade3086ffa275f7dc53060c362e62eeff16c806d /doc
parentd3746cbf237422e940e45d281936777c5b20f85f (diff)
downloademacs-3f3944ac00abb4fd2bb7bff1eb268e5860f85062.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/display.texi5
-rw-r--r--doc/lispref/text.texi5
3 files changed, 15 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 56efaea9d02..bff8ec79d4e 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,9 @@
+2011-08-09 Chong Yidong <cyd@stupidchicken.com>
+
+ * text.texi (Special Properties):
+ * display.texi (Overlay Properties): Note that mouse-face cannot
+ change the text size (Bug#8530).
+
2011-08-08 Chong Yidong <cyd@stupidchicken.com>
* 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.
@item mouse-face
@kindex mouse-face @r{(overlay property)}
This property is used instead of @code{face} when the mouse is within
-the range of the overlay.
+the range of the overlay. However, Emacs ignores all face attributes
+from this property that alter the text size (e.g. @code{:height},
+@code{:weight}, and @code{:slant}). Those attributes are always the
+same as in the unhighlighted text.
@item display
@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
between the character and where the mouse is have the same
@code{mouse-face} property value.
+Emacs ignores all face attributes from the @code{mouse-face} property
+that alter the text size (e.g. @code{:height}, @code{:weight}, and
+@code{:slant}). Those attributes are always the same as for the
+unhighlighted text.
+
@item fontified
@kindex fontified @r{(text property)}
This property says whether the text is ready for display. If