]> code.delx.au - gnu-emacs/blobdiff - lisp/cus-theme.el
Merged from miles@gnu.org--gnu-2005 (patch 74-79, 332-349)
[gnu-emacs] / lisp / cus-theme.el
index 32364763dfb51bdcd0eefe7d4783fb10dfdd17a6..412403030376d66ce5df36a155a8d25f390821fd 100644 (file)
@@ -31,7 +31,8 @@
 (eval-when-compile
   (require 'wid-edit))
 
-(defun custom-theme-create ()
+;;;###autoload
+(defun customize-create-theme ()
   "Create a custom theme."
   (interactive)
   (if (get-buffer "*New Custom Theme*")
@@ -72,7 +73,7 @@ This will help you share your customizations with other people.\n\n")
   (widget-insert " ")
   (widget-create 'push-button
                 :notify (lambda (&rest ignore)
-                          (custom-theme-create))
+                          (customize-create-theme))
                 "Reset")
   (widget-insert " ")
   (widget-create 'push-button
@@ -118,7 +119,7 @@ It includes all variables in list VARS."
                (princ " '(")
                (prin1 symbol)
                (princ " ")
-               (prin1 (symbol-value symbol))
+               (prin1 (custom-quote (symbol-value symbol)))
                (princ ")")))
              vars)
       (if (bolp)
@@ -153,4 +154,5 @@ It includes all faces in list FACES."
       (unless (looking-at "\n")
        (princ "\n")))))
 
+;;; arch-tag: cd6919bc-63af-410e-bae2-b6702e762344
 ;;; cus-theme.el ends here