emacs/lisp/use-package
Michael Shields ebcde0f90f 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.
2025-04-27 10:48:55 +03:00
..
use-package-bind-key.el Add :continue-only directive to bind-keys and use-package 2025-02-27 09:33:09 +02:00
use-package-core.el Fix use-package :custom-face to set face-defface-spec (bug#77928) 2025-04-27 10:48:55 +03:00
use-package-delight.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
use-package-diminish.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
use-package-ensure-system-package.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
use-package-ensure.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
use-package-jump.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
use-package-lint.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
use-package.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00