comparison src/keyboard.c @ 48133:0c75cb82ad34

(adjust_point_for_property): copy/paste error.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 03 Nov 2002 09:36:55 +0000
parents 8da4ccdeb8e0
children b35ced393e6c
comparison
equal deleted inserted replaced
48132:e54d42aa9dd0 48133:0c75cb82ad34
1836 (make_number (PT + 1), Qinvisible, Qnil, Qnil), 1836 (make_number (PT + 1), Qinvisible, Qnil, Qnil),
1837 beg = NILP (tmp) ? BEGV : XFASTINT (tmp), 1837 beg = NILP (tmp) ? BEGV : XFASTINT (tmp),
1838 beg < PT) 1838 beg < PT)
1839 && (tmp = Fnext_single_char_property_change 1839 && (tmp = Fnext_single_char_property_change
1840 (make_number (PT), Qinvisible, Qnil, Qnil), 1840 (make_number (PT), Qinvisible, Qnil, Qnil),
1841 end = NILP (tmp) ? BEGV : XFASTINT (tmp), 1841 end = NILP (tmp) ? ZV : XFASTINT (tmp),
1842 (last_pt <= beg || last_pt >= end))) 1842 (last_pt <= beg || last_pt >= end)))
1843 { 1843 {
1844 SET_PT (PT < last_pt ? beg : end); 1844 SET_PT (PT < last_pt ? beg : end);
1845 check_composition = 1; 1845 check_composition = 1;
1846 check_display = 1; 1846 check_display = 1;