[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc strin
From: |
Drew Adams |
Subject: |
bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string |
Date: |
Sun, 4 Jun 2017 12:38:10 -0700 (PDT) |
> > This is a useful, general function, not just a helper.
>
> FWIW, I don't think it's general enough, because it is tightly couples
> with face-x-resources.
That's only the _implementation_.
(That reasoning would apply also to `face-spec-recalc', `face-spec-set',
`face-set-after-frame-default', `custom-face-set', `custom-face-save',
`custom-face-mark-to-save', `custom-face-reset-saved',
`custom-face-mark-to-reset-standard', `custom-declare-face',
`custom-theme-set-faces', `custom-reset-faces', `woman-default-faces',
...)
Unless you essentially repeat its body, it is the only way
to do what it does. Here's one use case:
(face-spec-set-2 TARGET-FACE
FRAME
(face-spec-choose
(get SOURCE-FACE 'face-defface-spec)
FRAME))
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Drew Adams, 2017/06/04
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Eli Zaretskii, 2017/06/04
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string,
Drew Adams <=
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Eli Zaretskii, 2017/06/04
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Drew Adams, 2017/06/05
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Eli Zaretskii, 2017/06/05
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Drew Adams, 2017/06/05
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Eli Zaretskii, 2017/06/05
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Drew Adams, 2017/06/05
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Eli Zaretskii, 2017/06/05
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Drew Adams, 2017/06/05
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Eli Zaretskii, 2017/06/05
- bug#27238: 24.5; Rename `face-spec-set-2' and give it a better doc string, Drew Adams, 2017/06/05