From b4f5313e931a577f5db487ff9bd9c03d3a3c37a7 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 7 Sep 2012 22:45:28 +0800 Subject: * src/textprop.c (Fget_text_property): Minor doc fix. Fixes: debbugs:12323 --- src/textprop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/textprop.c') 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) { -- cgit v1.2.3