diff options
| author | Juanma Barranquero | 2002-07-11 14:18:02 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2002-07-11 14:18:02 +0000 |
| commit | aed13378308fae471bf2c11870a456e457166c31 (patch) | |
| tree | 89ee2f5aaffc88a04531e85b1c1da979f17483f2 /src/window.c | |
| parent | e20b31732ad01d8de7605ea740525dedc3dbdb90 (diff) | |
| download | emacs-aed13378308fae471bf2c11870a456e457166c31.tar.gz emacs-aed13378308fae471bf2c11870a456e457166c31.zip | |
Use macro SPECPDL_INDEX.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c index 7bfa8e3290a..0bacf5fd549 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -2664,7 +2664,7 @@ set_window_buffer (window, buffer, run_hooks_p) | |||
| 2664 | { | 2664 | { |
| 2665 | struct window *w = XWINDOW (window); | 2665 | struct window *w = XWINDOW (window); |
| 2666 | struct buffer *b = XBUFFER (buffer); | 2666 | struct buffer *b = XBUFFER (buffer); |
| 2667 | int count = specpdl_ptr - specpdl; | 2667 | int count = SPECPDL_INDEX (); |
| 2668 | 2668 | ||
| 2669 | w->buffer = buffer; | 2669 | w->buffer = buffer; |
| 2670 | 2670 | ||
| @@ -3174,7 +3174,7 @@ temp_output_buffer_show (buf) | |||
| 3174 | tem = Fsymbol_value (Qtemp_buffer_show_hook); | 3174 | tem = Fsymbol_value (Qtemp_buffer_show_hook); |
| 3175 | if (!NILP (tem)) | 3175 | if (!NILP (tem)) |
| 3176 | { | 3176 | { |
| 3177 | int count = specpdl_ptr - specpdl; | 3177 | int count = SPECPDL_INDEX (); |
| 3178 | Lisp_Object prev_window; | 3178 | Lisp_Object prev_window; |
| 3179 | prev_window = selected_window; | 3179 | prev_window = selected_window; |
| 3180 | 3180 | ||
| @@ -5462,7 +5462,7 @@ usage: (save-window-excursion BODY ...) */) | |||
| 5462 | Lisp_Object args; | 5462 | Lisp_Object args; |
| 5463 | { | 5463 | { |
| 5464 | register Lisp_Object val; | 5464 | register Lisp_Object val; |
| 5465 | register int count = specpdl_ptr - specpdl; | 5465 | register int count = SPECPDL_INDEX (); |
| 5466 | 5466 | ||
| 5467 | record_unwind_protect (Fset_window_configuration, | 5467 | record_unwind_protect (Fset_window_configuration, |
| 5468 | Fcurrent_window_configuration (Qnil)); | 5468 | Fcurrent_window_configuration (Qnil)); |