From 92df4a6d91132213b96a40e9284962293fb2c210 Mon Sep 17 00:00:00 2001 From: axel Date: Sat, 30 Sep 2006 07:48:04 +1000 Subject: [PATCH] Make sure M-d erases last character of word. Thanks to DynWind for the report darcs-hash:20060929214804-ac50b-ffb19242fcbd594fb72016427704cb51cf9d0a22.gz --- reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reader.c b/reader.c index a36a097ef..8456ec07d 100644 --- a/reader.c +++ b/reader.c @@ -2072,7 +2072,7 @@ static void move_word( int dir, int erase ) whitespace, but do for all other non-alphabetic characters */ - if( iswspace( c ) /* && ( abs( end_buff_pos-data->buff_pos ) > 1 ) */) + if( iswspace( c ) /* && ( abs( end_buff_pos-data->buff_pos ) > 1 ) */ && (step < 0)) end_buff_pos -= step; break; }