diff options
| author | Luc Teirlinck | 2005-02-12 17:56:32 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-02-12 17:56:32 +0000 |
| commit | 4b52e77985b573d9f568a09d738ffa9237afabc4 (patch) | |
| tree | c54f0fb627d05209124e1732075d104665d068f0 | |
| parent | b7a2a69670f86564c37c89044ca6646ed6c50187 (diff) | |
| download | emacs-4b52e77985b573d9f568a09d738ffa9237afabc4.tar.gz emacs-4b52e77985b573d9f568a09d738ffa9237afabc4.zip | |
(custom-theme-set-variables): Handle variable aliases.
| -rw-r--r-- | lisp/custom.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/custom.el b/lisp/custom.el index 06f21f7d0e8..13195c7f78f 100644 --- a/lisp/custom.el +++ b/lisp/custom.el | |||
| @@ -777,7 +777,7 @@ in SYMBOL's list property `theme-value' \(using `custom-push-theme')." | |||
| 777 | (while args | 777 | (while args |
| 778 | (let ((entry (car args))) | 778 | (let ((entry (car args))) |
| 779 | (if (listp entry) | 779 | (if (listp entry) |
| 780 | (let* ((symbol (nth 0 entry)) | 780 | (let* ((symbol (indirect-variable (nth 0 entry))) |
| 781 | (value (nth 1 entry)) | 781 | (value (nth 1 entry)) |
| 782 | (now (nth 2 entry)) | 782 | (now (nth 2 entry)) |
| 783 | (requests (nth 3 entry)) | 783 | (requests (nth 3 entry)) |
| @@ -809,7 +809,7 @@ in SYMBOL's list property `theme-value' \(using `custom-push-theme')." | |||
| 809 | (message "Warning: old format `custom-set-variables'") | 809 | (message "Warning: old format `custom-set-variables'") |
| 810 | (ding) | 810 | (ding) |
| 811 | (sit-for 2) | 811 | (sit-for 2) |
| 812 | (let ((symbol (nth 0 args)) | 812 | (let ((symbol (indirect-variable (nth 0 args))) |
| 813 | (value (nth 1 args))) | 813 | (value (nth 1 args))) |
| 814 | (put symbol 'saved-value (list value)) | 814 | (put symbol 'saved-value (list value)) |
| 815 | (custom-push-theme 'theme-value symbol theme 'set value)) | 815 | (custom-push-theme 'theme-value symbol theme 'set value)) |