From: Gregory Heytings Date: Thu, 4 Aug 2022 11:57:27 +0000 (+0000) Subject: ; * src/keyboard.c (safe_run_hooks_maybe_narrowed): Fix broken merge. X-Git-Tag: emacs-29.0.90~1447^2~431^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a95c5baa6a556059a434b9973a4454d414c15928;p=emacs.git ; * src/keyboard.c (safe_run_hooks_maybe_narrowed): Fix broken merge. --- 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) specbind (Qinhibit_quit, Qt); if (current_buffer->long_line_optimizations_p) - Fnarrow_to_region (make_fixnum (get_narrowed_begv (w, PT)), - make_fixnum (get_narrowed_zv (w, PT)), - Qt); + narrow_to_region_internal (make_fixnum (get_narrowed_begv (w, PT)), + make_fixnum (get_narrowed_zv (w, PT)), + true); run_hook_with_args (2, ((Lisp_Object []) {hook, hook}), safe_run_hook_funcall); unbind_to (count, Qnil);