aboutsummaryrefslogtreecommitdiffstats
path: root/src/textprop.c
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2012-09-07 22:45:28 +0800
committerChong Yidong <[email protected]>2012-09-07 22:45:28 +0800
commitb4f5313e931a577f5db487ff9bd9c03d3a3c37a7 (patch)
tree680d01f63f3e6170975711a037d5c5f4e3a11d80 /src/textprop.c
parent1a5432bc0480ab64dd7ac5d57d1025bdc3f0402b (diff)
* src/textprop.c (Fget_text_property): Minor doc fix.
Fixes: debbugs:12323
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c
index b6895fc426..2a9efba1c4 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -556,7 +556,8 @@ If POSITION is at the end of OBJECT, the value is nil. */)
DEFUN ("get-text-property", Fget_text_property, Sget_text_property, 2, 3, 0,
doc: /* Return the value of POSITION's property PROP, in OBJECT.
-OBJECT is optional and defaults to the current buffer.
+OBJECT should be a buffer or a string; if omitted or nil, it defaults
+to the current buffer.
If POSITION is at the end of OBJECT, the value is nil. */)
(Lisp_Object position, Lisp_Object prop, Lisp_Object object)
{