diff options
author | Bastien Guerry <bzg@gnu.org> | 2014-02-05 11:31:09 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@gnu.org> | 2014-02-05 11:31:09 +0100 |
commit | bfdd79d30931a2f5706a76b13624623319fb041e (patch) | |
tree | d903486975cd9bb548954c17a2a0505b597349fb /src | |
parent | fa49abf8bfb67ebab4c92bca656380948317a273 (diff) | |
download | emacs-bfdd79d30931a2f5706a76b13624623319fb041e.tar.gz emacs-bfdd79d30931a2f5706a76b13624623319fb041e.tar.bz2 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')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/syntax.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 50c08f8199c..be4907bf239 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-02-05 Bastien Guerry <bzg@gnu.org> + + * syntax.c (Fforward_word): Call Fconstrain_to_field with + ESCAPE-FROM-EDGE set to `nil' (Bug#16453). + 2014-02-05 Martin Rudalics <rudalics@gmx.at> * xdisp.c (note_mouse_highlight): When entering a margin area show 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 /* Avoid jumping out of an input field. */ tmp = Fconstrain_to_field (make_number (val), make_number (PT), - Qt, Qnil, Qnil); + Qnil, Qnil, Qnil); val = XFASTINT (tmp); SET_PT (val); |