diff options
| author | Dave Love | 1999-12-16 19:43:46 +0000 |
|---|---|---|
| committer | Dave Love | 1999-12-16 19:43:46 +0000 |
| commit | 3920868a41a77ff596b9eba61220df991eb03043 (patch) | |
| tree | 4c10fcd73f200071225a0a1d4ca1a353ad0a39d1 | |
| parent | 291cfb968c59e55375fcca86de3811ff4ae3f759 (diff) | |
| download | emacs-3920868a41a77ff596b9eba61220df991eb03043.tar.gz emacs-3920868a41a77ff596b9eba61220df991eb03043.zip | |
(custom-declare-variable): Purecopy value.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/custom.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7a66115d263..8b13dd45005 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 1999-12-16 Dave Love <fx@gnu.org> | 1 | 1999-12-16 Dave Love <fx@gnu.org> |
| 2 | 2 | ||
| 3 | * faces.el (set-face-attribute): Purecopy the attributes set. | ||
| 4 | |||
| 5 | * custom.el (custom-declare-variable): Purecopy value. | ||
| 6 | |||
| 3 | * bytecomp.el (byte-compile-bound-variables): Doc fix. | 7 | * bytecomp.el (byte-compile-bound-variables): Doc fix. |
| 4 | (byte-extrude-byte-code-vectors): Use remprop. | 8 | (byte-extrude-byte-code-vectors): Use remprop. |
| 5 | (byte-compile-lambda): Check that arg is a lambda. | 9 | (byte-compile-lambda): Check that arg is a lambda. |
diff --git a/lisp/custom.el b/lisp/custom.el index 1d7bf311ea4..de757f8b3e7 100644 --- a/lisp/custom.el +++ b/lisp/custom.el | |||
| @@ -135,7 +135,7 @@ not the default value itself." | |||
| 135 | ((eq keyword :require) | 135 | ((eq keyword :require) |
| 136 | (setq requests (cons value requests))) | 136 | (setq requests (cons value requests))) |
| 137 | ((eq keyword :type) | 137 | ((eq keyword :type) |
| 138 | (put symbol 'custom-type value)) | 138 | (put symbol 'custom-type (purecopy value))) |
| 139 | ((eq keyword :options) | 139 | ((eq keyword :options) |
| 140 | (if (get symbol 'custom-options) | 140 | (if (get symbol 'custom-options) |
| 141 | ;; Slow safe code to avoid duplicates. | 141 | ;; Slow safe code to avoid duplicates. |