/[emacs]/emacs/src/editfns.c
ViewVC logotype

Diff of /emacs/src/editfns.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.321 by pj, Tue Nov 13 06:58:58 2001 UTC revision 1.322 by rms, Thu Nov 15 00:34:42 2001 UTC
# Line 3082  DEFUN ("current-message", Fcurrent_messa Line 3082  DEFUN ("current-message", Fcurrent_messa
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
# Line 3097  usage: (propertize STRING &rest PROPERTI Line 3097  usage: (propertize STRING &rest PROPERTI
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;

Legend:
Removed from v.1.321  
changed lines
  Added in v.1.322

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26