aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 81768849a4b..ae2398cb310 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -613,7 +613,7 @@ even if it is dead. The return value is never nil. */)
613 613
614 /* Put this in the alist of all live buffers. */ 614 /* Put this in the alist of all live buffers. */
615 XSETBUFFER (buffer, b); 615 XSETBUFFER (buffer, b);
616 Vbuffer_alist = nconc2 (Vbuffer_alist, Fcons (Fcons (name, buffer), Qnil)); 616 Vbuffer_alist = nconc2 (Vbuffer_alist, list1 (Fcons (name, buffer)));
617 /* And run buffer-list-update-hook. */ 617 /* And run buffer-list-update-hook. */
618 if (!NILP (Vrun_hooks)) 618 if (!NILP (Vrun_hooks))
619 call1 (Vrun_hooks, Qbuffer_list_update_hook); 619 call1 (Vrun_hooks, Qbuffer_list_update_hook);
@@ -824,7 +824,7 @@ CLONE nil means the indirect buffer's state is reset to default values. */)
824 824
825 /* Put this in the alist of all live buffers. */ 825 /* Put this in the alist of all live buffers. */
826 XSETBUFFER (buf, b); 826 XSETBUFFER (buf, b);
827 Vbuffer_alist = nconc2 (Vbuffer_alist, Fcons (Fcons (name, buf), Qnil)); 827 Vbuffer_alist = nconc2 (Vbuffer_alist, list1 (Fcons (name, buf)));
828 828
829 bset_mark (b, Fmake_marker ()); 829 bset_mark (b, Fmake_marker ());
830 830