summaryrefslogtreecommitdiff
path: root/doc/lispref/text.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2014-02-08 22:14:08 -0800
committerLars Ingebrigtsen <larsi@gnus.org>2014-02-08 22:14:08 -0800
commit438241f5189b1ea28f828c72d92555133e4088e7 (patch)
treef49e9c6939c25b1e67a05e60b004ba2920c6494f /doc/lispref/text.texi
parent92c70367ffea001fc450400722e9fa84994f5b4e (diff)
downloademacs-438241f5189b1ea28f828c72d92555133e4088e7.tar.gz
emacs-438241f5189b1ea28f828c72d92555133e4088e7.tar.bz2
emacs-438241f5189b1ea28f828c72d92555133e4088e7.zip
* text.texi (Changing Properties): Clarify `propertize'.
Fixes: debbugs:9825
Diffstat (limited to 'doc/lispref/text.texi')
-rw-r--r--doc/lispref/text.texi9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 786628bb32a..76b65e9d7e0 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -2866,11 +2866,10 @@ zero-based indices into the string.
@code{propertize}:
@defun propertize string &rest properties
-This function returns a copy of @var{string} which has the text
-properties @var{properties}. These properties apply to all the
-characters in the string that is returned. Here is an example that
-constructs a string with a @code{face} property and a @code{mouse-face}
-property:
+This function returns a copy of @var{string} with the text properties
+@var{properties} added. These properties apply to all the characters
+in the string that is returned. Here is an example that constructs a
+string with a @code{face} property and a @code{mouse-face} property:
@smallexample
(propertize "foo" 'face 'italic