intern-soft, find-face/get-face, and facep for determining faces' definedness

Zajcev Evgeny zevlg at yandex.ru
Wed Nov 3 10:54:40 EST 2004


Andreas Schwab <schwab at suse.de> writes:

> Zajcev Evgeny <zevlg at yandex.ru> writes:
>
>> Most of functions that deal with faces should use `(facep (get-face
>> <face>))' sexp to check face validity.
>
> Why do you need facep if get-face already did all validation?
>

Oh yes, it should be one of: `(get-face <face>)' or
`(facep (find-face <face>))' to avoid signals.

-- 
lg




More information about the XEmacs-Beta mailing list