# HG changeset patch # User Karl Heuer # Date 762120534 0 # Node ID 07045ca8ff19dc8c8b6eed7c571d02070807aeb5 # Parent f67817990735c882f792f68cf5e35de6c1411c33 (direct_output_forward_char): Use Fget_char_property to test for invisibility. diff -r f67817990735 -r 07045ca8ff19 src/dispnew.c --- a/src/dispnew.c Thu Feb 24 20:04:27 1994 +0000 +++ b/src/dispnew.c Thu Feb 24 20:08:54 1994 +0000 @@ -953,17 +953,17 @@ 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;