From: Chong Yidong Date: Fri, 7 Sep 2012 14:45:28 +0000 (+0800) Subject: * src/textprop.c (Fget_text_property): Minor doc fix. X-Git-Tag: emacs-24.2.90~370 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b4f5313e931a577f5db487ff9bd9c03d3a3c37a7;p=emacs.git * src/textprop.c (Fget_text_property): Minor doc fix. Fixes: debbugs:12323 --- diff --git a/src/ChangeLog b/src/ChangeLog index 829586dc59e..bdbc97fdb1c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2012-09-07 Chong Yidong + * textprop.c (Fget_text_property): Minor doc fix (Bug#12323). + * data.c (Flocal_variable_if_set_p): Doc fix (Bug#10713). 2012-09-07 Paul Eggert diff --git a/src/textprop.c b/src/textprop.c index b6895fc426a..2a9efba1c45 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) {