summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-08-08 14:23:04 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-08-08 14:23:04 +0400
commitad8c997f72c95b7351eab4c8ea2ac8c667545e6f (patch)
tree95f6da158be105a5a83a31c087764ce1d7eb7944 /src/buffer.c
parentce0fcefa27728a4e83e10962075c388c8a6da87a (diff)
downloademacs-ad8c997f72c95b7351eab4c8ea2ac8c667545e6f.tar.gz
Inline functions to examine and change string intervals.
* lisp.h (STRING_INTERVALS, STRING_SET_INTERVALS): Remove. (string_get_intervals, string_set_intervals): New function. * alloc.c, buffer.c, editfns.c, fns.c, insdel.c, intervals.c: * lread.c, print.c, textprop.c: Adjust users.
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 ad28b69b972..395ca48680f 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -384,7 +384,7 @@ even if it is dead. The return value is never nil. */)
BVAR (b, zv_marker) = Qnil;
name = Fcopy_sequence (buffer_or_name);
- STRING_SET_INTERVALS (name, NULL);
+ string_set_intervals (name, NULL);
BVAR (b, name) = name;
BVAR (b, undo_list) = (SREF (name, 0) != ' ') ? Qnil : Qt;
@@ -589,7 +589,7 @@ CLONE nil means the indirect buffer's state is reset to default values. */)
all_buffers = b;
name = Fcopy_sequence (name);
- STRING_SET_INTERVALS (name, NULL);
+ string_set_intervals (name, NULL);
BVAR (b, name) = name;
reset_buffer (b);