emacs-devel
[Top][All Lists]
Advanced

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

Re: overriding a face [was: 23.0.50; face-problems with multy-tty]


From: Richard Stallman
Subject: Re: overriding a face [was: 23.0.50; face-problems with multy-tty]
Date: Mon, 01 Oct 2007 13:40:50 -0400

    Maybe something like this would be a start?

    (defmacro set-face (face spec &optional doc &rest args)
      `(if (facep ',face)
           (face-spec-set ',face ,spec)
         (defface ,face ,spec ,(or doc "REPLACE ME") ,@args)))

This seems like an incoherent combination of two different constructs,
like a conditional choice between set and setq.  I don't think it is
a good idea.

We might want to make `set-face' an alias for `face-spec-set'.




reply via email to

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