Mercurial > emacs
changeset 72532:71e0aa245bce
(Fset_buffer_multibyte): Simplify; use list3.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 25 Aug 2006 23:33:44 +0000 |
parents | 90bdf0a2ff4c |
children | 56fd2cceac24 |
files | src/buffer.c |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Fri Aug 25 23:33:30 2006 +0000 +++ b/src/buffer.c Fri Aug 25 23:33:44 2006 +0000 @@ -2345,11 +2345,10 @@ { /* Represent all the above changes by a special undo entry. */ extern Lisp_Object Qapply; - Lisp_Object args[3]; - args[0] = Qapply; - args[1] = intern ("set-buffer-multibyte"); - args[2] = NILP (flag) ? Qt : Qnil; - current_buffer->undo_list = Fcons (Flist (3, args), old_undo); + current_buffer->undo_list = Fcons (list3 (Qapply, + intern ("set-buffer-multibyte"), + NILP (flag) ? Qt : Qnil), + old_undo); } UNGCPRO;