diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-08 14:23:04 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-08 14:23:04 +0400 |
commit | ad8c997f72c95b7351eab4c8ea2ac8c667545e6f (patch) | |
tree | 95f6da158be105a5a83a31c087764ce1d7eb7944 /src/buffer.c | |
parent | ce0fcefa27728a4e83e10962075c388c8a6da87a (diff) | |
download | emacs-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.c | 4 |
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); |