changeset 49013:4a3d5b9c79b9

(customize-group, customize-group-other-window): Call custom-load-symbol unconditionally. (customize-face, customize-face-other-window): Fix format arg.
author Markus Rost <rost@math.uni-bielefeld.de>
date Thu, 02 Jan 2003 18:01:19 +0000
parents 5f0cc4c0a0c7
children b3a8593e94fd
files lisp/cus-edit.el
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cus-edit.el	Thu Jan 02 16:08:15 2003 +0000
+++ b/lisp/cus-edit.el	Thu Jan 02 18:01:19 2003 +0000
@@ -878,8 +878,7 @@
     (if (string-equal "" group)
 	(setq group 'emacs)
       (setq group (intern group))))
-  (or (get group 'custom-group)
-      (custom-load-symbol group))
+  (custom-load-symbol group)
   (let ((name (format "*Customize Group: %s*"
 		      (custom-unlispify-tag-name group))))
     (if (get-buffer name)
@@ -903,8 +902,7 @@
     (if (string-equal "" group)
 	(setq group 'emacs)
       (setq group (intern group))))
-  (or (get group 'custom-group)
-      (custom-load-symbol group))
+  (custom-load-symbol group)
   (let ((name (format "*Customize Group: %s*"
 		      (custom-unlispify-tag-name group))))
     (if (get-buffer name)
@@ -1082,7 +1080,7 @@
 			     t nil)
 			    "*Customize Faces*")
     (unless (facep face)
-      (error "Invalid face %S"))
+      (error "Invalid face %S" face))
     (custom-buffer-create (list (list face 'custom-face))
 			  (format "*Customize Face: %s*"
 				  (custom-unlispify-tag-name face)))))
@@ -1108,7 +1106,7 @@
 	t nil)
        "*Customize Faces*")
     (unless (facep face)
-      (error "Invalid face %S"))
+      (error "Invalid face %S" face))
     (custom-buffer-create-other-window
      (list (list face 'custom-face))
      (format "*Customize Face: %s*"