Mercurial > emacs
comparison src/buffer.c @ 46378:ef7dc46ecd0b
* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Mon, 15 Jul 2002 06:54:48 +0000 |
parents | 40db0673e6f0 |
children | 46ff766afaaf |
comparison
equal
deleted
inserted
replaced
46377:d50779ef2a76 | 46378:ef7dc46ecd0b |
---|---|
395 b->pt_marker = Qnil; | 395 b->pt_marker = Qnil; |
396 b->begv_marker = Qnil; | 396 b->begv_marker = Qnil; |
397 b->zv_marker = Qnil; | 397 b->zv_marker = Qnil; |
398 | 398 |
399 name = Fcopy_sequence (name); | 399 name = Fcopy_sequence (name); |
400 STRING_INTERVALS (name) = NULL_INTERVAL; | 400 STRING_SET_INTERVALS (name, NULL_INTERVAL); |
401 b->name = name; | 401 b->name = name; |
402 | 402 |
403 if (SREF (name, 0) != ' ') | 403 if (SREF (name, 0) != ' ') |
404 b->undo_list = Qnil; | 404 b->undo_list = Qnil; |
405 else | 405 else |
554 /* Put this on the chain of all buffers including killed ones. */ | 554 /* Put this on the chain of all buffers including killed ones. */ |
555 b->next = all_buffers; | 555 b->next = all_buffers; |
556 all_buffers = b; | 556 all_buffers = b; |
557 | 557 |
558 name = Fcopy_sequence (name); | 558 name = Fcopy_sequence (name); |
559 STRING_INTERVALS (name) = NULL_INTERVAL; | 559 STRING_SET_INTERVALS (name, NULL_INTERVAL); |
560 b->name = name; | 560 b->name = name; |
561 | 561 |
562 reset_buffer (b); | 562 reset_buffer (b); |
563 reset_buffer_local_variables (b, 1); | 563 reset_buffer_local_variables (b, 1); |
564 | 564 |