diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-11-07 23:52:17 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-11-07 23:52:57 -0800 |
commit | 8a8613bcf4227dfe46a694b761e9575bdf6ca2ce (patch) | |
tree | 01d9d994b9caacc831342ef1b32e033844fc06a6 /ChangeLog.2 | |
parent | 6ea4ff5a362a150fb9e22eff1d8f2b87d017b7a4 (diff) | |
download | emacs-8a8613bcf4227dfe46a694b761e9575bdf6ca2ce.tar.gz |
Prefer xpalloc to doubling buffers by hand
* src/lread.c (grow_read_buffer): New function, which uses xpalloc.
(read1): Use it for simplicity.
* src/macros.c (store_kbd_macro_char):
* src/minibuf.c (read_minibuf_noninteractive):
* src/term.c (encode_terminal_code):
* src/xrdb.c (magic_db):
Prefer xpalloc to growing buffers by hand.
This doesn’t fix any bugs, but simplifies the code a bit.
Diffstat (limited to 'ChangeLog.2')
0 files changed, 0 insertions, 0 deletions