From 294634fb26b089d47749d49c75fff5b1057fd4d8 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 24 Feb 1994 20:08:54 +0000 Subject: [PATCH] (direct_output_forward_char): Use Fget_char_property to test for invisibility. --- src/dispnew.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/dispnew.c b/src/dispnew.c index 432cffea4b..b348cefe13 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -953,17 +953,17 @@ direct_output_forward_char (n) XFASTINT (position) = point; if (XFASTINT (position) < ZV - && ! NILP (Fget_text_property (position, + && ! NILP (Fget_char_property (position, Qinvisible, - Fcurrent_buffer ()))) - return; + selected_window))) + return 0; XFASTINT (position) = point - 1; if (XFASTINT (position) >= BEGV - && ! NILP (Fget_text_property (position, + && ! NILP (Fget_char_property (position, Qinvisible, - Fcurrent_buffer ()))) - return; + selected_window))) + return 0; #endif FRAME_CURSOR_X (frame) += n; -- 2.20.1