2001-11-14 Richard M. Stallman <rms@gnu.org>
+ * editfns.c (Fpropertize): Allow call with 1 arg.
+
* dispextern.h (image_background, image_background_transparent):
Conditionalize on HAVE_X_WINDOWS.
}
-DEFUN ("propertize", Fpropertize, Spropertize, 3, MANY, 0,
+DEFUN ("propertize", Fpropertize, Spropertize, 1, MANY, 0,
doc: /* Return a copy of STRING with text properties added.
First argument is the string to copy.
Remaining arguments form a sequence of PROPERTY VALUE pairs for text
int i;
/* Number of args must be odd. */
- if ((nargs & 1) == 0 || nargs < 3)
+ if ((nargs & 1) == 0 || nargs < 1)
error ("Wrong number of arguments");
properties = string = Qnil;