diff options
| author | Bastien Guerry | 2014-02-05 11:31:09 +0100 |
|---|---|---|
| committer | Bastien Guerry | 2014-02-05 11:31:09 +0100 |
| commit | bfdd79d30931a2f5706a76b13624623319fb041e (patch) | |
| tree | d903486975cd9bb548954c17a2a0505b597349fb /src/syntax.c | |
| parent | fa49abf8bfb67ebab4c92bca656380948317a273 (diff) | |
| download | emacs-bfdd79d30931a2f5706a76b13624623319fb041e.tar.gz emacs-bfdd79d30931a2f5706a76b13624623319fb041e.zip | |
Fix bug #16453.
* syntax.c (Fforward_word): Call Fconstrain_to_field with
ESCAPE-FROM-EDGE set to `nil' (Bug#16453).
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index 65d6fe9f4f7..12575bfa3f7 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1485,7 +1485,7 @@ and the function returns nil. Field boundaries are not noticed if | |||
| 1485 | 1485 | ||
| 1486 | /* Avoid jumping out of an input field. */ | 1486 | /* Avoid jumping out of an input field. */ |
| 1487 | tmp = Fconstrain_to_field (make_number (val), make_number (PT), | 1487 | tmp = Fconstrain_to_field (make_number (val), make_number (PT), |
| 1488 | Qt, Qnil, Qnil); | 1488 | Qnil, Qnil, Qnil); |
| 1489 | val = XFASTINT (tmp); | 1489 | val = XFASTINT (tmp); |
| 1490 | 1490 | ||
| 1491 | SET_PT (val); | 1491 | SET_PT (val); |