changeset 65343:d82393ad9b2d

Fix last change to custom-push-theme.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 06 Sep 2005 03:14:46 +0000
parents c71b1b2d2d04
children 77b6aaba307a
files lisp/ChangeLog lisp/custom.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Sep 05 23:58:09 2005 +0000
+++ b/lisp/ChangeLog	Tue Sep 06 03:14:46 2005 +0000
@@ -1,3 +1,7 @@
+2005-09-05  Chong Yidong  <cyd@stupidchicken.com>
+
+	* custom.el (custom-push-theme): Fix last change.
+
 2005-09-05  Chong Yidong  <cyd@stupidchicken.com>
 
 	* cus-theme.el (custom-theme-write-faces): Save the current face
--- a/lisp/custom.el	Mon Sep 05 23:58:09 2005 +0000
+++ b/lisp/custom.el	Tue Sep 06 03:14:46 2005 +0000
@@ -649,7 +649,8 @@
 	(progn
 	  (setcar (cdr setting) mode)
 	  (setcar (cddr setting) value))
-      (if (null old)
+      (if (and (null old)
+	       (boundp symbol))
 	  (setq old
 		(list
 		 (list 'standard 'set