]> git.eshelyaron.com Git - emacs.git/commitdiff
* indent.c (Fvertical_motion): Remove now-incorrect GCPROs
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Jan 2013 06:15:12 +0000 (22:15 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Jan 2013 06:15:12 +0000 (22:15 -0800)
for old_charpos and old_bytepos.

src/ChangeLog
src/indent.c

index 2481177f465bd33a90283eeae432a5c9f71d5e1c..13b53e922edf8852e0e1501678bf6ae3b7c29f5b 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-12  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * indent.c (Fvertical_motion): Remove now-incorrect GCPROs
+       for old_charpos and old_bytepos.
+
 2013-01-12  Paul Eggert  <eggert@cs.ucla.edu>
 
        Fix bug with set-time-zone-rule and LOCALTIME_CACHE (Bug#13415).
index 4a30c00dd275ad886cb637bdc5884d7a09046077..45b6afbd39544487ab9eba25b99449a5f154bb85 100644 (file)
@@ -1970,7 +1970,7 @@ whether or not it is currently displayed in some window.  */)
   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 @@ whether or not it is currently displayed in some window.  */)
   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.  */