]> git.eshelyaron.com Git - emacs.git/commit
Make the "reset-saved" Custom operation reset to default if there is no saved value.
authorChong Yidong <cyd@gnu.org>
Sun, 22 Apr 2012 17:58:14 +0000 (01:58 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 22 Apr 2012 17:58:14 +0000 (01:58 +0800)
commitc2d1019e3540ffcace2cd72d46a1e85958c4d584
tree88ed67262d9ee0185045d5b9db8ce3ef78518066
parentde85e130f59b5164e2150abda92316f3a07d82c0
Make the "reset-saved" Custom operation reset to default if there is no saved value.

* lisp/cus-edit.el (custom-variable-menu)
(custom-variable-reset-saved, custom-face-menu)
(custom-face-reset-saved): If there is no saved value, make the
"reset-saved" operation bring back the default.
(custom-face-state): Properly detect themed faces.

Fixes: debbugs:9509
lisp/ChangeLog
lisp/cus-edit.el