aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorKim F. Storm2006-08-25 23:33:44 +0000
committerKim F. Storm2006-08-25 23:33:44 +0000
commit8929fd8784f3029494d04fef6896247385c9d6c0 (patch)
treea1501f2146593ffc1e3cedb1776f9f82635d78cf /src/buffer.c
parent799734b06388430cca13e5933fa57d782b7b1435 (diff)
downloademacs-8929fd8784f3029494d04fef6896247385c9d6c0.tar.gz
emacs-8929fd8784f3029494d04fef6896247385c9d6c0.zip
(Fset_buffer_multibyte): Simplify; use list3.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 81ea51b357a..863b217d2b4 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2345,11 +2345,10 @@ current buffer is cleared. */)
2345 { 2345 {
2346 /* Represent all the above changes by a special undo entry. */ 2346 /* Represent all the above changes by a special undo entry. */
2347 extern Lisp_Object Qapply; 2347 extern Lisp_Object Qapply;
2348 Lisp_Object args[3]; 2348 current_buffer->undo_list = Fcons (list3 (Qapply,
2349 args[0] = Qapply; 2349 intern ("set-buffer-multibyte"),
2350 args[1] = intern ("set-buffer-multibyte"); 2350 NILP (flag) ? Qt : Qnil),
2351 args[2] = NILP (flag) ? Qt : Qnil; 2351 old_undo);
2352 current_buffer->undo_list = Fcons (Flist (3, args), old_undo);
2353 } 2352 }
2354 2353
2355 UNGCPRO; 2354 UNGCPRO;