diff options
| author | Richard M. Stallman | 2005-09-04 01:07:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-09-04 01:07:27 +0000 |
| commit | 9b7a2369390a58f96cc96f7992bd9737d96af64a (patch) | |
| tree | ff027a42d56708d301d32764abe759d2e6ef99fd /src | |
| parent | 4b5fa40e1f1ba3cafde672863a0331311d1c2695 (diff) | |
| download | emacs-9b7a2369390a58f96cc96f7992bd9737d96af64a.tar.gz emacs-9b7a2369390a58f96cc96f7992bd9737d96af64a.zip | |
(Fpropertize): Don't insist that properties be symbols.
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 5 |
1 files changed, 1 insertions, 4 deletions
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) */) | |||
| 3260 | string = Fcopy_sequence (args[0]); | 3260 | string = Fcopy_sequence (args[0]); |
| 3261 | 3261 | ||
| 3262 | for (i = 1; i < nargs; i += 2) | 3262 | for (i = 1; i < nargs; i += 2) |
| 3263 | { | 3263 | properties = Fcons (args[i], Fcons (args[i + 1], properties)); |
| 3264 | CHECK_SYMBOL (args[i]); | ||
| 3265 | properties = Fcons (args[i], Fcons (args[i + 1], properties)); | ||
| 3266 | } | ||
| 3267 | 3264 | ||
| 3268 | Fadd_text_properties (make_number (0), | 3265 | Fadd_text_properties (make_number (0), |
| 3269 | make_number (SCHARS (string)), | 3266 | make_number (SCHARS (string)), |