From 070fe99cf703cd6fd2dcec9c7f4648472a41a7ac Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 25 Jul 2000 09:20:27 +0000 Subject: [PATCH] (Fforward_word): Add last arg nil in call of Fconstrain_to_field. --- src/ChangeLog | 5 +++++ src/syntax.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d869519ea31..fb3d4bfa789 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2000-07-25 Gerd Moellmann + + * syntax.c (Fforward_word): Add last arg nil in call of + Fconstrain_to_field. + 2000-07-25 Eli Zaretskii * fileio.c (Frename-file) [DOS_NT]: If the file names are diff --git a/src/syntax.c b/src/syntax.c index b30635f062d..93602629598 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1270,7 +1270,7 @@ and the function returns nil. Field boundaries are not noticed if\n\ /* Avoid jumping out of an input field. */ val = XFASTINT (Fconstrain_to_field (make_number (val), make_number (PT), - Qt, Qnil)); + Qt, Qnil, Qnil)); SET_PT (val); return val == orig_val ? Qt : Qnil; -- 2.39.2