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

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

bug#5105: 23.1; doc string of facemenu-set-face


From: Drew Adams
Subject: bug#5105: 23.1; doc string of facemenu-set-face
Date: Mon, 1 Aug 2011 18:36:32 -0700

> No, but two faces can have the same name.

In the same obarray?

> And there can even be a face which has a unique name and yet `intern'
> does not return the corresponding face.

In the same obarray?

Anyway, a good reason (finally).  And not so obvious.

Faces are symbols, and I agree that it is generally not good to accept a symbol
name in place of a symbol as arg.  I retract the request, based on your
argument.

In practice, 99% of the faces passed as args will be interned in `obarray' (not
in some other obarray), so there is still some argument for the convenience of
accepting a string name.

But to avoid confusion and explicitly documenting which obarray would be used if
a string is passed, I agree with you after all.






reply via email to

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