aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 78d2c73ecbf..21e22181b82 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2787,7 +2787,7 @@ reset_outermost_narrowings (void)
2787 2787
2788/* Helper functions to save and restore the narrowing locks of the 2788/* Helper functions to save and restore the narrowing locks of the
2789 current buffer in Fsave_restriction. */ 2789 current buffer in Fsave_restriction. */
2790static Lisp_Object 2790Lisp_Object
2791narrowing_locks_save (void) 2791narrowing_locks_save (void)
2792{ 2792{
2793 Lisp_Object buf = Fcurrent_buffer (); 2793 Lisp_Object buf = Fcurrent_buffer ();
@@ -2798,7 +2798,7 @@ narrowing_locks_save (void)
2798 return Fcons (buf, Fcopy_sequence (locks)); 2798 return Fcons (buf, Fcopy_sequence (locks));
2799} 2799}
2800 2800
2801static void 2801void
2802narrowing_locks_restore (Lisp_Object buf_and_saved_locks) 2802narrowing_locks_restore (Lisp_Object buf_and_saved_locks)
2803{ 2803{
2804 if (NILP (buf_and_saved_locks)) 2804 if (NILP (buf_and_saved_locks))