diff options
| author | Michael Shields | 2025-04-19 12:58:26 -0700 |
|---|---|---|
| committer | Eli Zaretskii | 2025-04-27 10:48:55 +0300 |
| commit | ebcde0f90f67852d485a36941b0661cfd1b892eb (patch) | |
| tree | 15178cd179ded1f70cb42c2d429255939d7dbc51 /java | |
| parent | 0c55cd0e176cc73178e8f18d959d5a6f9bf632de (diff) | |
| download | emacs-ebcde0f90f67852d485a36941b0661cfd1b892eb.tar.gz emacs-ebcde0f90f67852d485a36941b0661cfd1b892eb.zip | |
Fix use-package :custom-face to set face-defface-spec (bug#77928)
By default, `face-set-spec' sets the override face spec, so face
attributes are combined with defaults rather than replacing them.
This was a behavior change that was an apparently unintended
consequence of commit 6b344a9.
Also set the `face-modified' property, which causes Customize to
flag the face as changed outside Customize.
* doc/misc/use-package.texi (Faces): Document the behavior.
* lisp/use-package/use-package-core.el (use-package-handler/:custom-face):
(use-package): Improve docstring to reflect implementation.
* test/lisp/use-package/use-package-tests.el
(use-package-test/:custom-face-1): (use-package-test/:custom-face-2):
(use-package-test/:custom-face-3): (use-package-test/:custom-face-4):
Add tests.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions