diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c index e371b3133ae..a5bc8532cfb 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1297,7 +1297,7 @@ with SIGHUP. */) | |||
| 1297 | 1297 | ||
| 1298 | /* Run hooks with the buffer to be killed the current buffer. */ | 1298 | /* Run hooks with the buffer to be killed the current buffer. */ |
| 1299 | { | 1299 | { |
| 1300 | int count = specpdl_ptr - specpdl; | 1300 | int count = SPECPDL_INDEX (); |
| 1301 | Lisp_Object list; | 1301 | Lisp_Object list; |
| 1302 | 1302 | ||
| 1303 | record_unwind_protect (save_excursion_restore, save_excursion_save ()); | 1303 | record_unwind_protect (save_excursion_restore, save_excursion_save ()); |
| @@ -1548,7 +1548,7 @@ the current buffer's major mode. */) | |||
| 1548 | if (NILP (function) || EQ (function, Qfundamental_mode)) | 1548 | if (NILP (function) || EQ (function, Qfundamental_mode)) |
| 1549 | return Qnil; | 1549 | return Qnil; |
| 1550 | 1550 | ||
| 1551 | count = specpdl_ptr - specpdl; | 1551 | count = SPECPDL_INDEX (); |
| 1552 | 1552 | ||
| 1553 | /* To select a nonfundamental mode, | 1553 | /* To select a nonfundamental mode, |
| 1554 | select the buffer temporarily and then call the mode function. */ | 1554 | select the buffer temporarily and then call the mode function. */ |
| @@ -3586,7 +3586,7 @@ buffer. */) | |||
| 3586 | { | 3586 | { |
| 3587 | struct buffer *b, *ob; | 3587 | struct buffer *b, *ob; |
| 3588 | Lisp_Object obuffer; | 3588 | Lisp_Object obuffer; |
| 3589 | int count = specpdl_ptr - specpdl; | 3589 | int count = SPECPDL_INDEX (); |
| 3590 | 3590 | ||
| 3591 | CHECK_OVERLAY (overlay); | 3591 | CHECK_OVERLAY (overlay); |
| 3592 | if (NILP (buffer)) | 3592 | if (NILP (buffer)) |
| @@ -3687,7 +3687,7 @@ DEFUN ("delete-overlay", Fdelete_overlay, Sdelete_overlay, 1, 1, 0, | |||
| 3687 | { | 3687 | { |
| 3688 | Lisp_Object buffer; | 3688 | Lisp_Object buffer; |
| 3689 | struct buffer *b; | 3689 | struct buffer *b; |
| 3690 | int count = specpdl_ptr - specpdl; | 3690 | int count = SPECPDL_INDEX (); |
| 3691 | 3691 | ||
| 3692 | CHECK_OVERLAY (overlay); | 3692 | CHECK_OVERLAY (overlay); |
| 3693 | 3693 | ||