Fix customizing user options of type face
* lisp/cus-edit.el (face): Move the %f escape after the tag, because otherwise customizing a face user option doesn't work: custom-variable-value-create thinks that everything up until the first ":" is part of the tag, and the item widget doesn't know how to handle the %f escape.
This commit is contained in:
parent
2d4c981b21
commit
bd8f4b04d5
1 changed files with 1 additions and 1 deletions
|
|
@ -4021,7 +4021,7 @@ restoring it to the state of a face that has never been customized."
|
|||
|
||||
(define-widget 'face 'symbol
|
||||
"A Lisp face name (with sample)."
|
||||
:format "%f %{%t%}: (%{sample%}) %v"
|
||||
:format "%{%t%}: %f (%{sample%}) %v"
|
||||
:tag "Face"
|
||||
:value 'default
|
||||
:sample-face-get 'widget-face-sample-face-get
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue