Mercurial > emacs
comparison src/buffer.c @ 25351:c7247eabc834
Remove conditional compilation on NO_PROMPT_IN_BUFFER.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Sat, 21 Aug 1999 19:29:47 +0000 |
| parents | 14269f6d315b |
| children | f9949db6ca7d |
comparison
equal
deleted
inserted
replaced
| 25350:f964a1e5b29c | 25351:c7247eabc834 |
|---|---|
| 367 *(BUF_GPT_ADDR (b)) = *(BUF_Z_ADDR (b)) = 0; /* Put an anchor '\0'. */ | 367 *(BUF_GPT_ADDR (b)) = *(BUF_Z_ADDR (b)) = 0; /* Put an anchor '\0'. */ |
| 368 | 368 |
| 369 b->newline_cache = 0; | 369 b->newline_cache = 0; |
| 370 b->width_run_cache = 0; | 370 b->width_run_cache = 0; |
| 371 b->width_table = Qnil; | 371 b->width_table = Qnil; |
| 372 #if !NO_PROMPT_IN_BUFFER | |
| 373 b->minibuffer_prompt_length = Qnil; | 372 b->minibuffer_prompt_length = Qnil; |
| 374 #endif | |
| 375 | 373 |
| 376 /* Put this on the chain of all buffers including killed ones. */ | 374 /* Put this on the chain of all buffers including killed ones. */ |
| 377 b->next = all_buffers; | 375 b->next = all_buffers; |
| 378 all_buffers = b; | 376 all_buffers = b; |
| 379 | 377 |
| 448 BUF_PT_BYTE (b) = BUF_PT_BYTE (b->base_buffer); | 446 BUF_PT_BYTE (b) = BUF_PT_BYTE (b->base_buffer); |
| 449 | 447 |
| 450 b->newline_cache = 0; | 448 b->newline_cache = 0; |
| 451 b->width_run_cache = 0; | 449 b->width_run_cache = 0; |
| 452 b->width_table = Qnil; | 450 b->width_table = Qnil; |
| 453 #if !NO_PROMPT_IN_BUFFER | |
| 454 b->minibuffer_prompt_length = Qnil; | 451 b->minibuffer_prompt_length = Qnil; |
| 455 #endif | |
| 456 | 452 |
| 457 /* Put this on the chain of all buffers including killed ones. */ | 453 /* Put this on the chain of all buffers including killed ones. */ |
| 458 b->next = all_buffers; | 454 b->next = all_buffers; |
| 459 all_buffers = b; | 455 all_buffers = b; |
| 460 | 456 |
| 1219 { | 1215 { |
| 1220 free_region_cache (b->width_run_cache); | 1216 free_region_cache (b->width_run_cache); |
| 1221 b->width_run_cache = 0; | 1217 b->width_run_cache = 0; |
| 1222 } | 1218 } |
| 1223 b->width_table = Qnil; | 1219 b->width_table = Qnil; |
| 1224 #if !NO_PROMPT_IN_BUFFER | |
| 1225 b->minibuffer_prompt_length = Qnil; | 1220 b->minibuffer_prompt_length = Qnil; |
| 1226 #endif | |
| 1227 UNBLOCK_INPUT; | 1221 UNBLOCK_INPUT; |
| 1228 b->undo_list = Qnil; | 1222 b->undo_list = Qnil; |
| 1229 | 1223 |
| 1230 return Qt; | 1224 return Qt; |
| 1231 } | 1225 } |
