intern-soft, find-face/get-face, and facep for determining faces' definedness
Stephen J. Turnbull
stephen at xemacs.org
Thu Nov 4 04:42:39 EST 2004
Warning: per previous post, emacs-devel trimmed.
>>>>> "StefanF" == Stefan Monnier <monnier at iro.umontreal.ca> writes:
StefanF> It was "why does XEmacs do it this way".
StefanF> I'd thus expect that (facep foo) should return non-nil
StefanF> iff foo can be passed to set-face-<bar> and similar
StefanF> functions.
I would imagine that set-face-<bar> was originally intended to signal
an error if passed a symbol, but we implemented the current interface
solely for GNU compatibility. I personally would much prefer the
stricter interface, and allow use strings as face names, with symbols
being coerced to their print-names.
--
Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.
More information about the XEmacs-Beta
mailing list