bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8657: 24.0.50; Emacs code that seems to use `*-single-char-property-


From: Chong Yidong
Subject: bug#8657: 24.0.50; Emacs code that seems to use `*-single-char-property-change' incorrectly
Date: Tue, 07 Feb 2012 13:57:45 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> But in XEmacs next-single-char-property-change will return nil
> if no property change is found.

Ah OK, thanks for checking.

> So I've modified the gnus-sum.el code into:
>
>   (if (featurep 'xemacs)
>       (or (next-single-char-property-change end 'invisible)
>           (point-max))
>     (next-single-char-property-change end 'invisible))

I suggest just restoring the old code, and adding a comment about why
the `or' is there.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]