* [PATCH] buffer name assignment
@ 2012-01-10 13:38 Dmitry Antipov
0 siblings, 0 replies; only message in thread
From: Dmitry Antipov @ 2012-01-10 13:38 UTC (permalink / raw
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 47 bytes --]
These two assignments looks redundant.
Dmitry
[-- Attachment #2: buffer_name_assignment.patch --]
[-- Type: text/plain, Size: 1034 bytes --]
=== modified file 'src/ChangeLog'
--- src/ChangeLog 2012-01-10 03:00:28 +0000
+++ src/ChangeLog 2012-01-10 13:35:16 +0000
@@ -1,3 +1,8 @@
+2012-01-10 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Remove
+ duplicated buffer name assignment.
+
2012-01-10 Glenn Morris <rgm@gnu.org>
* epaths.in (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH, PATH_EXEC)
=== modified file 'src/buffer.c'
--- src/buffer.c 2012-01-05 09:46:05 +0000
+++ src/buffer.c 2012-01-10 13:25:03 +0000
@@ -389,7 +389,6 @@
BVAR (b, mark) = Fmake_marker ();
BUF_MARKERS (b) = NULL;
- BVAR (b, name) = name;
/* Put this in the alist of all live buffers. */
XSETBUFFER (buffer, b);
@@ -616,7 +615,6 @@
Vbuffer_alist = nconc2 (Vbuffer_alist, Fcons (Fcons (name, buf), Qnil));
BVAR (b, mark) = Fmake_marker ();
- BVAR (b, name) = name;
/* The multibyte status belongs to the base buffer. */
BVAR (b, enable_multibyte_characters) = BVAR (b->base_buffer, enable_multibyte_characters);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-10 13:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-10 13:38 [PATCH] buffer name assignment Dmitry Antipov
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.