From: Luc Teirlinck Date: Wed, 4 Jan 2006 02:52:41 +0000 (+0000) Subject: (custom-buffer-create-internal): Move whole buffer "Erase Customization" X-Git-Tag: emacs-pretest-22.0.90~4896 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b1e820dc009830d21e2845e4d5f804ba4df36e2;p=emacs.git (custom-buffer-create-internal): Move whole buffer "Erase Customization" button back to same position it occupies in the individual State menus. --- diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index e8ad8551f46..37350920751 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -1491,13 +1491,6 @@ This updates your Emacs initialization file or creates a new one." :mouse-down-action (lambda (&rest junk) t) :action (lambda (widget &optional event) (custom-reset event)))) - (widget-insert " ") - (when (or custom-file user-init-file) - (widget-create 'push-button - :tag "Erase Customization" - :help-echo "\ -Un-customize all settings in this buffer--save them with standard values." - :action 'Custom-reset-standard))) (widget-insert "\n ") (widget-create 'push-button :tag "Reset to Current" @@ -1510,6 +1503,13 @@ Reset all edited text in this buffer to reflect current values." :help-echo "\ Reset all settings in this buffer to their saved values." :action 'Custom-reset-saved) + (widget-insert " ") + (when (or custom-file user-init-file) + (widget-create 'push-button + :tag "Erase Customization" + :help-echo "\ +Un-customize all settings in this buffer--save them with standard values." + :action 'Custom-reset-standard))) (if (not custom-buffer-verbose-help) (progn (widget-insert " ")