3082 |
} |
} |
3083 |
|
|
3084 |
|
|
3085 |
DEFUN ("propertize", Fpropertize, Spropertize, 3, MANY, 0, |
DEFUN ("propertize", Fpropertize, Spropertize, 1, MANY, 0, |
3086 |
doc: /* Return a copy of STRING with text properties added. |
doc: /* Return a copy of STRING with text properties added. |
3087 |
First argument is the string to copy. |
First argument is the string to copy. |
3088 |
Remaining arguments form a sequence of PROPERTY VALUE pairs for text |
Remaining arguments form a sequence of PROPERTY VALUE pairs for text |
3097 |
int i; |
int i; |
3098 |
|
|
3099 |
/* Number of args must be odd. */ |
/* Number of args must be odd. */ |
3100 |
if ((nargs & 1) == 0 || nargs < 3) |
if ((nargs & 1) == 0 || nargs < 1) |
3101 |
error ("Wrong number of arguments"); |
error ("Wrong number of arguments"); |
3102 |
|
|
3103 |
properties = string = Qnil; |
properties = string = Qnil; |