[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new *Help* argument highlighting
From: |
Juanma Barranquero |
Subject: |
Re: new *Help* argument highlighting |
Date: |
Tue, 11 May 2004 20:30:05 +0200 |
On Tue, 11 May 2004 10:51:47 -0600, Kevin Rodgers <address@hidden> wrote:
> No, you just need to check (face-differs-from-default-p
> 'help-argument-name) before downcasing the argument.
Nice, I didn't know about f-d-f-d-p until David and you mentioned it.
But still, I don't seem to be able to return a face to a non-differing
state.
ELISP> (defface test1-face '() "")
test1-face
ELISP> (face-differs-from-default-p 'test1-face)
nil
ELISP> (defface test2-face '((t (:slant italic))) "")
test2-face
ELISP> (face-differs-from-default-p 'test2-face)
t
ELISP> (set-face-attribute 'test2-face nil :slant 'unspecified :family
'unspecified)
nil
ELISP> (face-differs-from-default-p 'test2-face)
t
ELISP>
and describe-face for test2-face shows "family or font: nil".
Any idea what I'm doing wrong?
/L/e/k/t/u
- Re: new *Help* argument highlighting, (continued)
- Re: new *Help* argument highlighting, Stefan Monnier, 2004/05/12
- Re: new *Help* argument highlighting, Miles Bader, 2004/05/12
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/12
- Re: new *Help* argument highlighting, Stefan Monnier, 2004/05/12
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/13
- Re: new *Help* argument highlighting, Stefan Monnier, 2004/05/13
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/13
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/12
- Re: new *Help* argument highlighting, Richard Stallman, 2004/05/14
- Re: new *Help* argument highlighting, Kevin Rodgers, 2004/05/11
- Re: new *Help* argument highlighting,
Juanma Barranquero <=
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/11
- Re: new *Help* argument highlighting, Romain Francoise, 2004/05/12
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/12
- Re: new *Help* argument highlighting, Romain Francoise, 2004/05/13