[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/cus-edit.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/cus-edit.el |
Date: |
Mon, 02 Jan 2006 03:43:13 +0000 |
Index: emacs/lisp/cus-edit.el
diff -u emacs/lisp/cus-edit.el:1.264 emacs/lisp/cus-edit.el:1.265
--- emacs/lisp/cus-edit.el:1.264 Mon Jan 2 03:38:30 2006
+++ emacs/lisp/cus-edit.el Mon Jan 2 03:43:13 2006
@@ -815,21 +815,20 @@
This operation eliminates any saved values for the group members,
making them as if they had never been customized at all."
(interactive)
- (if (yes-or-no-p "Eliminate saved values for all settings in this buffer? ")
- (let ((children custom-options))
- (when (or (and (= 1 (length children))
- (memq (widget-type (car children))
- '(custom-variable custom-face)))
- (yes-or-no-p "Really erase all customizations in this buffer?
"))
- (mapc (lambda (widget)
- (and (if (widget-get widget :custom-standard-value)
- (widget-apply widget :custom-standard-value)
- t)
- (memq (widget-get widget :custom-state)
- '(modified set changed saved rogue))
- (widget-apply widget :custom-reset-standard)))
- children)))
- (message "Aborted")))
+ (let ((children custom-options))
+ (if (or (and (= 1 (length children))
+ (memq (widget-type (car children))
+ '(custom-variable custom-face)))
+ (yes-or-no-p "Really erase all customizations in this buffer? "))
+ (mapc (lambda (widget)
+ (and (if (widget-get widget :custom-standard-value)
+ (widget-apply widget :custom-standard-value)
+ t)
+ (memq (widget-get widget :custom-state)
+ '(modified set changed saved rogue))
+ (widget-apply widget :custom-reset-standard)))
+ children)
+ (message "Aborted"))))
;;; The Customize Commands
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, Richard M. Stallman, 2006/01/01
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el,
Richard M. Stallman <=
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, Chong Yidong, 2006/01/02
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, Chong Yidong, 2006/01/02
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, Luc Teirlinck, 2006/01/03
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, Chong Yidong, 2006/01/04
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, Chong Yidong, 2006/01/04
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, Chong Yidong, 2006/01/04
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, Chong Yidong, 2006/01/04
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, Richard M. Stallman, 2006/01/07
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, John Paul Wallington, 2006/01/09
- [Emacs-diffs] Changes to emacs/lisp/cus-edit.el, Luc Teirlinck, 2006/01/11