emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r111497: * indent.c (Fvertical_motion


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111497: * indent.c (Fvertical_motion): Remove now-incorrect GCPROs
Date: Fri, 11 Jan 2013 22:15:12 -0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111497
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Fri 2013-01-11 22:15:12 -0800
message:
  * indent.c (Fvertical_motion): Remove now-incorrect GCPROs
  
  for old_charpos and old_bytepos.
modified:
  src/ChangeLog
  src/indent.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-01-12 01:15:06 +0000
+++ b/src/ChangeLog     2013-01-12 06:15:12 +0000
@@ -1,3 +1,8 @@
+2013-01-12  Dmitry Antipov  <address@hidden>
+
+       * indent.c (Fvertical_motion): Remove now-incorrect GCPROs
+       for old_charpos and old_bytepos.
+
 2013-01-12  Paul Eggert  <address@hidden>
 
        Fix bug with set-time-zone-rule and LOCALTIME_CACHE (Bug#13415).

=== modified file 'src/indent.c'
--- a/src/indent.c      2013-01-02 16:13:04 +0000
+++ b/src/indent.c      2013-01-12 06:15:12 +0000
@@ -1970,7 +1970,7 @@
   struct window *w;
   Lisp_Object old_buffer;
   EMACS_INT old_charpos IF_LINT (= 0), old_bytepos IF_LINT (= 0);
-  struct gcpro gcpro1, gcpro2, gcpro3;
+  struct gcpro gcpro1;
   Lisp_Object lcols = Qnil;
   double cols IF_LINT (= 0);
   void *itdata = NULL;
@@ -1987,7 +1987,7 @@
   w = decode_live_window (window);
 
   old_buffer = Qnil;
-  GCPRO3 (old_buffer, old_charpos, old_bytepos);
+  GCPRO1 (old_buffer);
   if (XBUFFER (w->buffer) != current_buffer)
     {
       /* Set the window's buffer temporarily to the current buffer.  */


reply via email to

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