diff options
-rw-r--r-- | src/textprop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c index 5342cc2380..b29bca295a 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -1217,7 +1217,8 @@ DEFUN ("set-text-properties", Fset_text_properties, "Completely replace properties of text from START to END.\n\ The third argument PROPERTIES is the new property list.\n\ The optional fourth argument, OBJECT,\n\ -is the string or buffer containing the text.") +is the string or buffer containing the text. +If OBJECT is omitted or nil, it defaults to the current buffer.") (start, end, properties, object) Lisp_Object start, end, properties, object; { |