diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 3 |
2 files changed, 2 insertions, 3 deletions
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) | |||
| 2786 | } | 2786 | } |
| 2787 | 2787 | ||
| 2788 | /* Helper functions to save and restore the narrowing locks of the | 2788 | /* Helper functions to save and restore the narrowing locks of the |
| 2789 | current buffer in save-restriction. */ | 2789 | current buffer in Fsave_restriction. */ |
| 2790 | static Lisp_Object | 2790 | static Lisp_Object |
| 2791 | narrowing_locks_save (void) | 2791 | narrowing_locks_save (void) |
| 2792 | { | 2792 | { |
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) | |||
| 3538 | { | 3538 | { |
| 3539 | if (long_line_locked_narrowing_region_size == 0) | 3539 | if (long_line_locked_narrowing_region_size == 0) |
| 3540 | return BEGV; | 3540 | return BEGV; |
| 3541 | int begv; | ||
| 3542 | int len = long_line_locked_narrowing_region_size / 2; | 3541 | int len = long_line_locked_narrowing_region_size / 2; |
| 3543 | begv = max (pos - len, BEGV); | 3542 | int begv = max (pos - len, BEGV); |
| 3544 | int limit = long_line_locked_narrowing_bol_search_limit; | 3543 | int limit = long_line_locked_narrowing_bol_search_limit; |
| 3545 | while (limit) | 3544 | while (limit) |
| 3546 | { | 3545 | { |