* [PATCH] a few small things
@ 2011-12-30 7:10 Dmitry Antipov
0 siblings, 0 replies; only message in thread
From: Dmitry Antipov @ 2011-12-30 7:10 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: interval_buffer.patch --]
[-- Type: text/plain, Size: 1543 bytes --]
=== modified file 'src/ChangeLog'
--- src/ChangeLog 2011-12-28 07:55:49 +0000
+++ src/ChangeLog 2011-12-30 07:06:36 +0000
@@ -1,3 +1,11 @@
+2011-12-30 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * intervals.c (adjust_intervals_for_insertion): Initialize `newi'
+ with RESET_INTERVAL.
+
+ * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Remove
+ duplicated buffer name initialization.
+
2011-12-28 Kenichi Handa <handa@m17n.org>
* coding.c (Fdefine_coding_system_internal): Make an utf-8 base
=== modified file 'src/buffer.c'
--- src/buffer.c 2011-11-27 04:43:11 +0000
+++ src/buffer.c 2011-12-30 07:00:46 +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);
=== modified file 'src/intervals.c'
--- src/intervals.c 2011-11-19 09:18:31 +0000
+++ src/intervals.c 2011-12-30 06:59:21 +0000
@@ -1000,6 +1000,7 @@
Lisp_Object pleft, pright;
struct interval newi;
+ RESET_INTERVAL (&newi);
pleft = NULL_INTERVAL_P (prev) ? Qnil : prev->plist;
pright = NULL_INTERVAL_P (i) ? Qnil : i->plist;
newi.plist = merge_properties_sticky (pleft, pright);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-30 7:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-30 7:10 [PATCH] a few small things 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.