]> git.eshelyaron.com Git - emacs.git/commit
Pass original spec just after creating the face-widget
authorMauro Aranda <maurooaranda@gmail.com>
Mon, 10 Jul 2023 13:47:23 +0000 (10:47 -0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 20 Jul 2023 15:45:02 +0000 (18:45 +0300)
commitbcb5bdc2e9abd58b8e946109a319986daec66ace
treecc7614d10f15206af1f141c881fdc819f4bfa962
parentf9bbe3189b0eee627c3d8bca3221882cf0c29b26
Pass original spec just after creating the face-widget

* lisp/cus-edit.el (custom-face-get-current-spec-unfiltered):
New function, extracted from custom-face-get-current-spec.
(custom-face-get-current-spec): Use it.
(custom-face-state-set): Take an optional argument, to decide
if we should check against a filtered or unfiltered spec.
(custom-face-value-create): Use the new optional argument.
(Bug#64347)
lisp/cus-edit.el