changeset 2118:e28998a020ec

[xemacs-hg @ 2004-06-07 21:50:57 by adrian] xemacs-21.5: Cleanup sync to 21.4 and typo fixes for lisp/cus-edit.el -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2004-06-07 Adrian Aichner <adrian@xemacs.org> * cus-edit.el (custom-browse-visibility): Typo fix. * cus-edit.el (custom-variable-value-create): Ditto. * cus-edit.el (custom-save-variables): Simply use push instead of make-list and nconc, as suggested by Hrvoje and already used in 21.4. * cus-edit.el (custom-save-faces): Ditto.
author adrian
date Mon, 07 Jun 2004 21:50:57 +0000
parents 0684198d3161
children 13181f978082
files lisp/ChangeLog lisp/cus-edit.el
diffstat 2 files changed, 15 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Jun 07 21:50:32 2004 +0000
+++ b/lisp/ChangeLog	Mon Jun 07 21:50:57 2004 +0000
@@ -1,3 +1,12 @@
+2004-06-07  Adrian Aichner  <adrian@xemacs.org>
+
+	* cus-edit.el (custom-browse-visibility): Typo fix.
+	* cus-edit.el (custom-variable-value-create): Ditto.
+	* cus-edit.el (custom-save-variables): Simply use push instead of
+	make-list and nconc, as suggested by Hrvoje and already used in
+	21.4.
+	* cus-edit.el (custom-save-faces): Ditto.
+
 2004-06-07  Adrian Aichner  <adrian@xemacs.org>
 
 	* mule/ethio-util.el (ethio-sera-to-fidel-region): Phrase
--- a/lisp/cus-edit.el	Mon Jun 07 21:50:32 2004 +0000
+++ b/lisp/cus-edit.el	Mon Jun 07 21:50:57 2004 +0000
@@ -1234,7 +1234,7 @@
   (goto-char (point-min)))
 
 (define-widget 'custom-browse-visibility 'item
-  "Control visibility of of items in the customize tree browser."
+  "Control visibility of items in the customize tree browser."
   :format "%[[%t]%]"
   :action 'custom-browse-visibility-action)
 
@@ -2041,7 +2041,7 @@
 	  ;; Don't push it !!! Custom assumes that the first child is the
 	  ;; value one.
 	  (setq children (append children (list comment-widget)))))
-      ;; Update the rest of the properties properties.
+      ;; Update the rest of the properties.
       (widget-put widget :custom-form form)
       (widget-put widget :children children)
       ;; Now update the state.
@@ -3471,13 +3471,12 @@
      (custom-save-loaded-themes)
      (custom-save-resets 'theme-value 'custom-reset-variables nil)
      (let ((standard-output (current-buffer))
-           ;; To make nconc work
-           (sorted-list (make-list 1 t)))
+           (sorted-list ()))
        ;; First create a sorted list of saved variables.
        (mapatoms
         (lambda (symbol)
           (when (custom-save-variable-p symbol)
-            (nconc sorted-list (list symbol)))))
+            (push symbol sorted-list))))
        (setq sorted-list (sort (cdr sorted-list) 'string<))
 
        (unless (bolp)
@@ -3544,13 +3543,12 @@
     ;;                        'custom-set-faces)
     (custom-save-resets 'theme-face 'custom-reset-faces '(default))
     (let ((standard-output (current-buffer))
-          ;; To make nconc work
-          (sorted-list (make-list 1 t)))
+          (sorted-list ()))
       ;; Create a sorted list of faces
       (mapatoms
        (lambda (symbol)
          (when (custom-save-face-p symbol)
-           (nconc sorted-list (list symbol)))))
+           (push symbol sorted-list))))
       (setq sorted-list (sort (cdr sorted-list) 'string<))
       
       (unless (bolp)