changeset 68017:025bb43a4fe6

(custom-buffer-create-internal): Move whole buffer "Erase Customization" button back to same position it occupies in the individual State menus.
author Luc Teirlinck <teirllm@auburn.edu>
date Wed, 04 Jan 2006 02:52:41 +0000
parents 2981ac843205
children 05571da345c8
files lisp/cus-edit.el
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cus-edit.el	Wed Jan 04 02:49:48 2006 +0000
+++ b/lisp/cus-edit.el	Wed Jan 04 02:52:41 2006 +0000
@@ -1491,13 +1491,6 @@
 		       :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 @@
 		   :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 " ")