aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorVitalie Spinu2016-03-21 05:41:55 +0100
committerVitalie Spinu2016-03-29 23:29:54 +0200
commit7068e4c811f7530e14d2684fea68499418642b33 (patch)
tree3c44890147e77c32a5a9f4aeb60ca88d9eb6a050 /src/process.c
parentf99b51295b86770e4b16d4717c0e73049191c4c5 (diff)
downloademacs-scratch/hard-narrow.tar.gz
emacs-scratch/hard-narrow.zip
Hard narrowingscratch/hard-narrow
Idem
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index dd508836f79..75e3934237d 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5514,7 +5514,7 @@ Otherwise it discards the output. */)
5514 /* If the output marker is outside of the visible region, save 5514 /* If the output marker is outside of the visible region, save
5515 the restriction and widen. */ 5515 the restriction and widen. */
5516 if (! (BEGV <= PT && PT <= ZV)) 5516 if (! (BEGV <= PT && PT <= ZV))
5517 Fwiden (); 5517 Fwiden (Qnil);
5518 5518
5519 /* Adjust the multibyteness of TEXT to that of the buffer. */ 5519 /* Adjust the multibyteness of TEXT to that of the buffer. */
5520 if (NILP (BVAR (current_buffer, enable_multibyte_characters)) 5520 if (NILP (BVAR (current_buffer, enable_multibyte_characters))
@@ -5558,7 +5558,7 @@ Otherwise it discards the output. */)
5558 5558
5559 /* If the restriction isn't what it should be, set it. */ 5559 /* If the restriction isn't what it should be, set it. */
5560 if (old_begv != BEGV || old_zv != ZV) 5560 if (old_begv != BEGV || old_zv != ZV)
5561 Fnarrow_to_region (make_number (old_begv), make_number (old_zv)); 5561 Fnarrow_to_region (make_number (old_begv), make_number (old_zv), Qnil);
5562 5562
5563 bset_read_only (current_buffer, old_read_only); 5563 bset_read_only (current_buffer, old_read_only);
5564 SET_PT_BOTH (opoint, opoint_byte); 5564 SET_PT_BOTH (opoint, opoint_byte);