From: Gregory Heytings Date: Sun, 27 Nov 2022 10:25:19 +0000 (+0000) Subject: ; * src/xdisp.c (get_locked_narrowing_begv): Minor change. X-Git-Tag: emacs-29.0.90~1447^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=18fa159fa91b515f2281b83648961fdc5e21aca7;p=emacs.git ; * src/xdisp.c (get_locked_narrowing_begv): Minor change. --- diff --git a/src/editfns.c b/src/editfns.c index a3a8f3edefd..b364f441b53 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2786,7 +2786,7 @@ reset_outermost_narrowings (void) } /* Helper functions to save and restore the narrowing locks of the - current buffer in save-restriction. */ + current buffer in Fsave_restriction. */ static Lisp_Object narrowing_locks_save (void) { diff --git a/src/xdisp.c b/src/xdisp.c index 138c3646790..331fbe02128 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3538,9 +3538,8 @@ get_locked_narrowing_begv (ptrdiff_t pos) { if (long_line_locked_narrowing_region_size == 0) return BEGV; - int begv; int len = long_line_locked_narrowing_region_size / 2; - begv = max (pos - len, BEGV); + int begv = max (pos - len, BEGV); int limit = long_line_locked_narrowing_bol_search_limit; while (limit) {