; * src/xdisp.c (get_locked_narrowing_begv): Minor change.
This commit is contained in:
parent
914b7903ad
commit
18fa159fa9
2 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue