diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/buffer.c b/src/buffer.c index 81f7d922fdb..71ad5edd527 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -2602,8 +2602,6 @@ current buffer is cleared. */) | |||
| 2602 | p += bytes, pos += bytes; | 2602 | p += bytes, pos += bytes; |
| 2603 | } | 2603 | } |
| 2604 | } | 2604 | } |
| 2605 | if (narrowed) | ||
| 2606 | Fnarrow_to_region (make_fixnum (begv), make_fixnum (zv)); | ||
| 2607 | } | 2605 | } |
| 2608 | else | 2606 | else |
| 2609 | { | 2607 | { |
| @@ -2682,9 +2680,6 @@ current buffer is cleared. */) | |||
| 2682 | if (pt != PT) | 2680 | if (pt != PT) |
| 2683 | TEMP_SET_PT (pt); | 2681 | TEMP_SET_PT (pt); |
| 2684 | 2682 | ||
| 2685 | if (narrowed) | ||
| 2686 | Fnarrow_to_region (make_fixnum (begv), make_fixnum (zv)); | ||
| 2687 | |||
| 2688 | /* Do this first, so that chars_in_text asks the right question. | 2683 | /* Do this first, so that chars_in_text asks the right question. |
| 2689 | set_intervals_multibyte needs it too. */ | 2684 | set_intervals_multibyte needs it too. */ |
| 2690 | bset_enable_multibyte_characters (current_buffer, Qt); | 2685 | bset_enable_multibyte_characters (current_buffer, Qt); |
| @@ -6385,10 +6380,3 @@ nil NORECORD argument since it may lead to infinite recursion. */); | |||
| 6385 | 6380 | ||
| 6386 | Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt); | 6381 | Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt); |
| 6387 | } | 6382 | } |
| 6388 | |||
| 6389 | void | ||
| 6390 | keys_of_buffer (void) | ||
| 6391 | { | ||
| 6392 | initial_define_key (control_x_map, 'b', "switch-to-buffer"); | ||
| 6393 | initial_define_key (control_x_map, 'k', "kill-buffer"); | ||
| 6394 | } | ||