aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 3f9371652e7..1468e7a2be1 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1999,7 +1999,7 @@ the current buffer's major mode. */)
1999 /* To select a nonfundamental mode, 1999 /* To select a nonfundamental mode,
2000 select the buffer temporarily and then call the mode function. */ 2000 select the buffer temporarily and then call the mode function. */
2001 2001
2002 record_unwind_protect (save_excursion_restore, save_excursion_save ()); 2002 record_unwind_current_buffer ();
2003 2003
2004 Fset_buffer (buffer); 2004 Fset_buffer (buffer);
2005 call0 (function); 2005 call0 (function);