aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-07-07 13:32:21 +0000
committerRichard M. Stallman1995-07-07 13:32:21 +0000
commit18744e178c9466134b80c18ac20aa70ee6b613b6 (patch)
treeb04734d5146cd11de21bb9f9ff21609c36b2fab8 /src
parent2a3eeee73eaaf864e0fa31dd9f90f8f319c37faf (diff)
downloademacs-18744e178c9466134b80c18ac20aa70ee6b613b6.tar.gz
emacs-18744e178c9466134b80c18ac20aa70ee6b613b6.zip
(Fwiden): Set clip_changed in current buffer.
(Fnarrow_to_region, save_restriction_restore): Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 13a851fb007..0519bc806a1 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1509,7 +1509,7 @@ This allows the buffer's full text to be seen and edited.")
1509{ 1509{
1510 BEGV = BEG; 1510 BEGV = BEG;
1511 SET_BUF_ZV (current_buffer, Z); 1511 SET_BUF_ZV (current_buffer, Z);
1512 clip_changed = 1; 1512 current_buffer->clip_changed = 1;
1513 /* Changing the buffer bounds invalidates any recorded current column. */ 1513 /* Changing the buffer bounds invalidates any recorded current column. */
1514 invalidate_current_column (); 1514 invalidate_current_column ();
1515 return Qnil; 1515 return Qnil;
@@ -1545,7 +1545,7 @@ or markers) bounding the text that should remain visible.")
1545 SET_PT (XFASTINT (b)); 1545 SET_PT (XFASTINT (b));
1546 if (point > XFASTINT (e)) 1546 if (point > XFASTINT (e))
1547 SET_PT (XFASTINT (e)); 1547 SET_PT (XFASTINT (e));
1548 clip_changed = 1; 1548 current_buffer->clip_changed = 1;
1549 /* Changing the buffer bounds invalidates any recorded current column. */ 1549 /* Changing the buffer bounds invalidates any recorded current column. */
1550 invalidate_current_column (); 1550 invalidate_current_column ();
1551 return Qnil; 1551 return Qnil;
@@ -1587,7 +1587,7 @@ save_restriction_restore (data)
1587 } 1587 }
1588 BUF_BEGV (buf) = BUF_BEG (buf) + newhead; 1588 BUF_BEGV (buf) = BUF_BEG (buf) + newhead;
1589 SET_BUF_ZV (buf, BUF_Z (buf) - newtail); 1589 SET_BUF_ZV (buf, BUF_Z (buf) - newtail);
1590 clip_changed = 1; 1590 current_buffer->clip_changed = 1;
1591 1591
1592 /* If point is outside the new visible range, move it inside. */ 1592 /* If point is outside the new visible range, move it inside. */
1593 SET_BUF_PT (buf, 1593 SET_BUF_PT (buf,