aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/keyboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index a730dfe4fda..02e02448ff8 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1907,9 +1907,9 @@ safe_run_hooks_maybe_narrowed (Lisp_Object hook, struct window *w)
1907 specbind (Qinhibit_quit, Qt); 1907 specbind (Qinhibit_quit, Qt);
1908 1908
1909 if (current_buffer->long_line_optimizations_p) 1909 if (current_buffer->long_line_optimizations_p)
1910 Fnarrow_to_region (make_fixnum (get_narrowed_begv (w, PT)), 1910 narrow_to_region_internal (make_fixnum (get_narrowed_begv (w, PT)),
1911 make_fixnum (get_narrowed_zv (w, PT)), 1911 make_fixnum (get_narrowed_zv (w, PT)),
1912 Qt); 1912 true);
1913 1913
1914 run_hook_with_args (2, ((Lisp_Object []) {hook, hook}), safe_run_hook_funcall); 1914 run_hook_with_args (2, ((Lisp_Object []) {hook, hook}), safe_run_hook_funcall);
1915 unbind_to (count, Qnil); 1915 unbind_to (count, Qnil);