diff options
| author | Dmitry Antipov | 2012-07-27 10:04:35 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-07-27 10:04:35 +0400 |
| commit | 694b6c97ebb8310bc18dd305c2f277bcc11cebca (patch) | |
| tree | e8c401a50de10b8b14397a22c7e501f0291a17f5 /src/buffer.c | |
| parent | ca1302a40a560521627fd6a2954a51a79d105a16 (diff) | |
| download | emacs-694b6c97ebb8310bc18dd305c2f277bcc11cebca.tar.gz emacs-694b6c97ebb8310bc18dd305c2f277bcc11cebca.zip | |
Utility function to make a list from specified amount of objects.
* lisp.h (enum constype): New datatype.
(listn): New prototype.
* alloc.c (listn): New function.
(Fmemory_use_count, syms_of_alloc): Use it.
* buffer.c (syms_of_buffer): Likewise.
* callint.c (syms_of_callint): Likewise.
* charset.c (define_charset_internal): Likewise.
* coding.c (syms_of_coding): Likewise.
* keymap.c (syms_of_keymap): Likewise.
* search.c (syms_of_search): Likewise.
* syntax.c (syms_of_syntax): Likewise.
* w32.c (init_environment): Likewise.
* w32fns.c (Fw32_battery_status, syms_of_w32fns): Likewise.
* xdisp.c (syms_of_xdisp): Likewise.
* xfns.c (syms_of_xfns): Likewise.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 06d385110c6..c2afd7f4a5e 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5212,7 +5212,7 @@ syms_of_buffer (void) | |||
| 5212 | DEFSYM (Qkill_buffer_query_functions, "kill-buffer-query-functions"); | 5212 | DEFSYM (Qkill_buffer_query_functions, "kill-buffer-query-functions"); |
| 5213 | 5213 | ||
| 5214 | Fput (Qprotected_field, Qerror_conditions, | 5214 | Fput (Qprotected_field, Qerror_conditions, |
| 5215 | pure_cons (Qprotected_field, pure_cons (Qerror, Qnil))); | 5215 | listn (PURE, 2, Qprotected_field, Qerror)); |
| 5216 | Fput (Qprotected_field, Qerror_message, | 5216 | Fput (Qprotected_field, Qerror_message, |
| 5217 | build_pure_c_string ("Attempt to modify a protected field")); | 5217 | build_pure_c_string ("Attempt to modify a protected field")); |
| 5218 | 5218 | ||