Mercurial > emacs
diff src/window.c @ 46293:1fb8f75062c6
Use macro SPECPDL_INDEX.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 11 Jul 2002 14:18:02 +0000 |
parents | 3f111801efb4 |
children | 40db0673e6f0 |
line wrap: on
line diff
--- a/src/window.c Wed Jul 10 11:08:01 2002 +0000 +++ b/src/window.c Thu Jul 11 14:18:02 2002 +0000 @@ -2664,7 +2664,7 @@ { struct window *w = XWINDOW (window); struct buffer *b = XBUFFER (buffer); - int count = specpdl_ptr - specpdl; + int count = SPECPDL_INDEX (); w->buffer = buffer; @@ -3174,7 +3174,7 @@ tem = Fsymbol_value (Qtemp_buffer_show_hook); if (!NILP (tem)) { - int count = specpdl_ptr - specpdl; + int count = SPECPDL_INDEX (); Lisp_Object prev_window; prev_window = selected_window; @@ -5462,7 +5462,7 @@ Lisp_Object args; { register Lisp_Object val; - register int count = specpdl_ptr - specpdl; + register int count = SPECPDL_INDEX (); record_unwind_protect (Fset_window_configuration, Fcurrent_window_configuration (Qnil));