changeset 60020:58cb209560a7

(custom-theme-set-variables): Handle variable aliases.
author Luc Teirlinck <teirllm@auburn.edu>
date Sat, 12 Feb 2005 17:56:32 +0000
parents 1e555c99a724
children d751f08f4c04
files lisp/custom.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/custom.el	Fri Feb 11 16:09:50 2005 +0000
+++ b/lisp/custom.el	Sat Feb 12 17:56:32 2005 +0000
@@ -777,7 +777,7 @@
     (while args
       (let ((entry (car args)))
 	(if (listp entry)
-	    (let* ((symbol (nth 0 entry))
+	    (let* ((symbol (indirect-variable (nth 0 entry)))
 		   (value (nth 1 entry))
 		   (now (nth 2 entry))
 		   (requests (nth 3 entry))
@@ -809,7 +809,7 @@
 	  (message "Warning: old format `custom-set-variables'")
 	  (ding)
 	  (sit-for 2)
-	  (let ((symbol (nth 0 args))
+	  (let ((symbol (indirect-variable (nth 0 args)))
 		(value (nth 1 args)))
 	    (put symbol 'saved-value (list value))
             (custom-push-theme 'theme-value symbol theme 'set value))