emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/editfns.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/editfns.c
Date: Wed, 14 Nov 2001 19:34:42 -0500

Index: emacs/src/editfns.c
diff -u emacs/src/editfns.c:1.321 emacs/src/editfns.c:1.322
--- emacs/src/editfns.c:1.321   Tue Nov 13 01:58:58 2001
+++ emacs/src/editfns.c Wed Nov 14 19:34:42 2001
@@ -3082,7 +3082,7 @@
 }
 
 
-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
@@ -3097,7 +3097,7 @@
   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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]