aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2014-02-08 22:14:08 -0800
committerLars Ingebrigtsen2014-02-08 22:14:08 -0800
commit438241f5189b1ea28f828c72d92555133e4088e7 (patch)
treef49e9c6939c25b1e67a05e60b004ba2920c6494f
parent92c70367ffea001fc450400722e9fa84994f5b4e (diff)
downloademacs-438241f5189b1ea28f828c72d92555133e4088e7.tar.gz
emacs-438241f5189b1ea28f828c72d92555133e4088e7.zip
* text.texi (Changing Properties): Clarify `propertize'.
Fixes: debbugs:9825
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/text.texi9
2 files changed, 6 insertions, 5 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 68ce030e393..47be7082fc7 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,7 @@
12014-02-09 Lars Ingebrigtsen <larsi@gnus.org> 12014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2 2
3 * text.texi (Changing Properties): Clarify `propertize' (bug#9825).
4
3 * display.texi (Blinking): Clarify doc string in example (bug#10658). 5 * display.texi (Blinking): Clarify doc string in example (bug#10658).
4 6
5 * commands.texi (Accessing Mouse): Mention that these function 7 * commands.texi (Accessing Mouse): Mention that these function
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.
2866@code{propertize}: 2866@code{propertize}:
2867 2867
2868@defun propertize string &rest properties 2868@defun propertize string &rest properties
2869This function returns a copy of @var{string} which has the text 2869This function returns a copy of @var{string} with the text properties
2870properties @var{properties}. These properties apply to all the 2870@var{properties} added. These properties apply to all the characters
2871characters in the string that is returned. Here is an example that 2871in the string that is returned. Here is an example that constructs a
2872constructs a string with a @code{face} property and a @code{mouse-face} 2872string with a @code{face} property and a @code{mouse-face} property:
2873property:
2874 2873
2875@smallexample 2874@smallexample
2876(propertize "foo" 'face 'italic 2875(propertize "foo" 'face 'italic