From: Bastien Guerry Date: Wed, 5 Feb 2014 10:31:09 +0000 (+0100) Subject: Fix bug #16453. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~166 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bfdd79d30931a2f5706a76b13624623319fb041e;p=emacs.git Fix bug #16453. * syntax.c (Fforward_word): Call Fconstrain_to_field with ESCAPE-FROM-EDGE set to `nil' (Bug#16453). --- 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 + + * syntax.c (Fforward_word): Call Fconstrain_to_field with + ESCAPE-FROM-EDGE set to `nil' (Bug#16453). + 2014-02-05 Martin Rudalics * 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);