diff options
| author | Joakim Verona | 2013-02-13 00:04:17 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-02-13 00:04:17 +0100 |
| commit | e46029ad6dda065541c8de40de0fe9d5800ac770 (patch) | |
| tree | 891ff36967b0ef02459ee46b6363b75bf810d524 /src/editfns.c | |
| parent | e0444a0966fa001953bb97cfb60451c42220be8e (diff) | |
| parent | c4131562319d3529841136d236ac39fb1e3d2b7c (diff) | |
| download | emacs-e46029ad6dda065541c8de40de0fe9d5800ac770.tar.gz emacs-e46029ad6dda065541c8de40de0fe9d5800ac770.zip | |
auto upstream
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c index 0f88a781b88..c5cd8b0b725 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -735,9 +735,8 @@ Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. */) | |||
| 735 | /* This is the ONLY_IN_LINE case, check that NEW_POS and | 735 | /* This is the ONLY_IN_LINE case, check that NEW_POS and |
| 736 | FIELD_BOUND are on the same line by seeing whether | 736 | FIELD_BOUND are on the same line by seeing whether |
| 737 | there's an intervening newline or not. */ | 737 | there's an intervening newline or not. */ |
| 738 | || (scan_buffer ('\n', | 738 | || (find_newline (XFASTINT (new_pos), XFASTINT (field_bound), |
| 739 | XFASTINT (new_pos), XFASTINT (field_bound), | 739 | fwd ? -1 : 1, &shortage, 1), |
| 740 | fwd ? -1 : 1, &shortage, 1), | ||
| 741 | shortage != 0))) | 740 | shortage != 0))) |
| 742 | /* Constrain NEW_POS to FIELD_BOUND. */ | 741 | /* Constrain NEW_POS to FIELD_BOUND. */ |
| 743 | new_pos = field_bound; | 742 | new_pos = field_bound; |