* indent.c (Fvertical_motion): Remove now-incorrect GCPROs

for old_charpos and old_bytepos.
This commit is contained in:
Paul Eggert 2013-01-11 22:15:12 -08:00
parent 444b01bb49
commit bdc9b756cd
2 changed files with 7 additions and 2 deletions

View 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).

View 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. */