aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory Heytings2022-08-04 11:57:27 +0000
committerGregory Heytings2022-08-04 14:02:25 +0200
commita95c5baa6a556059a434b9973a4454d414c15928 (patch)
tree7317f750e7e835cacdd1fe1e7139b6c0f8b6942f
parente2b774e64a903e856356971c0fc3a3835d3883c1 (diff)
downloademacs-feature/long-lines-improvements.tar.gz
emacs-feature/long-lines-improvements.zip
; * src/keyboard.c (safe_run_hooks_maybe_narrowed): Fix broken merge.feature/long-lines-improvements
-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);