summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/syntax.c2
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);