From: Richard M. Stallman Date: Sun, 4 Sep 2005 01:07:27 +0000 (+0000) Subject: (Fpropertize): Don't insist that properties be symbols. X-Git-Tag: emacs-pretest-22.0.90~7266 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9b7a2369390a58f96cc96f7992bd9737d96af64a;p=emacs.git (Fpropertize): Don't insist that properties be symbols. --- diff --git a/src/editfns.c b/src/editfns.c index da4533d2537..a05d2396448 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3260,10 +3260,7 @@ usage: (propertize STRING &rest PROPERTIES) */) string = Fcopy_sequence (args[0]); for (i = 1; i < nargs; i += 2) - { - CHECK_SYMBOL (args[i]); - properties = Fcons (args[i], Fcons (args[i + 1], properties)); - } + properties = Fcons (args[i], Fcons (args[i + 1], properties)); Fadd_text_properties (make_number (0), make_number (SCHARS (string)),