emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100444: * src/editfns.c (save_res


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100444: * src/editfns.c (save_restriction_restore): Don't forget to invalidate the
Date: Wed, 02 Feb 2011 10:53:20 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100444
committer: Stefan Monnier <address@hidden>
branch nick: emacs-23
timestamp: Wed 2011-02-02 10:53:20 -0500
message:
  * src/editfns.c (save_restriction_restore): Don't forget to invalidate the
  current_column cache.
modified:
  src/ChangeLog
  src/editfns.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-02-02 02:16:53 +0000
+++ b/src/ChangeLog     2011-02-02 15:53:20 +0000
@@ -1,3 +1,8 @@
+2011-02-02  Stefan Monnier  <address@hidden>
+
+       * editfns.c (save_restriction_restore): Don't forget to invalidate the
+       current_column cache (bug#7946).
+
 2011-02-02  Kenichi Handa  <address@hidden>
 
        * ftfont.c (ftfont_open): Use FC_DUAL only when it is defined.

=== modified file 'src/editfns.c'
--- a/src/editfns.c     2011-01-02 23:50:46 +0000
+++ b/src/editfns.c     2011-02-02 15:53:20 +0000
@@ -3347,6 +3347,9 @@
        }
     }
 
+  /* Changing the buffer bounds invalidates any recorded current column.  */
+  invalidate_current_column ();
+
   if (cur)
     set_buffer_internal (cur);
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]