From bd8f4b04d51083bd61350c70c09daff4fd8bb61d Mon Sep 17 00:00:00 2001 From: Mauro Aranda Date: Tue, 3 Nov 2020 10:02:51 -0300 Subject: [PATCH] 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. --- lisp/cus-edit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 3eef4468394..34d76bf0963 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -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 -- 2.39.2