aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 0bdad086ddd..91ff6b946f7 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1774,7 +1774,7 @@ cleaning up all windows currently displaying the buffer to be killed. */)
1774 1774
1775 /* Run hooks with the buffer to be killed as the current buffer. */ 1775 /* Run hooks with the buffer to be killed as the current buffer. */
1776 { 1776 {
1777 ptrdiff_t count = SPECPDL_INDEX (); 1777 specpdl_ref count = SPECPDL_INDEX ();
1778 bool modified; 1778 bool modified;
1779 1779
1780 record_unwind_protect_excursion (); 1780 record_unwind_protect_excursion ();
@@ -2097,7 +2097,6 @@ Use this function before selecting the buffer, since it may need to inspect
2097the current buffer's major mode. */) 2097the current buffer's major mode. */)
2098 (Lisp_Object buffer) 2098 (Lisp_Object buffer)
2099{ 2099{
2100 ptrdiff_t count;
2101 Lisp_Object function; 2100 Lisp_Object function;
2102 2101
2103 CHECK_BUFFER (buffer); 2102 CHECK_BUFFER (buffer);
@@ -2120,7 +2119,7 @@ the current buffer's major mode. */)
2120 `hack-local-variables' get run. */ 2119 `hack-local-variables' get run. */
2121 return Qnil; 2120 return Qnil;
2122 2121
2123 count = SPECPDL_INDEX (); 2122 specpdl_ref count = SPECPDL_INDEX ();
2124 2123
2125 /* To select a nonfundamental mode, 2124 /* To select a nonfundamental mode,
2126 select the buffer temporarily and then call the mode function. */ 2125 select the buffer temporarily and then call the mode function. */
@@ -4035,7 +4034,7 @@ buffer. */)
4035{ 4034{
4036 struct buffer *b, *ob = 0; 4035 struct buffer *b, *ob = 0;
4037 Lisp_Object obuffer; 4036 Lisp_Object obuffer;
4038 ptrdiff_t count = SPECPDL_INDEX (); 4037 specpdl_ref count = SPECPDL_INDEX ();
4039 ptrdiff_t n_beg, n_end; 4038 ptrdiff_t n_beg, n_end;
4040 ptrdiff_t o_beg UNINIT, o_end UNINIT; 4039 ptrdiff_t o_beg UNINIT, o_end UNINIT;
4041 4040
@@ -4156,7 +4155,7 @@ DEFUN ("delete-overlay", Fdelete_overlay, Sdelete_overlay, 1, 1, 0,
4156{ 4155{
4157 Lisp_Object buffer; 4156 Lisp_Object buffer;
4158 struct buffer *b; 4157 struct buffer *b;
4159 ptrdiff_t count = SPECPDL_INDEX (); 4158 specpdl_ref count = SPECPDL_INDEX ();
4160 4159
4161 CHECK_OVERLAY (overlay); 4160 CHECK_OVERLAY (overlay);
4162 4161