aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-12-16 19:43:46 +0000
committerDave Love1999-12-16 19:43:46 +0000
commit3920868a41a77ff596b9eba61220df991eb03043 (patch)
tree4c10fcd73f200071225a0a1d4ca1a353ad0a39d1
parent291cfb968c59e55375fcca86de3811ff4ae3f759 (diff)
downloademacs-3920868a41a77ff596b9eba61220df991eb03043.tar.gz
emacs-3920868a41a77ff596b9eba61220df991eb03043.zip
(custom-declare-variable): Purecopy value.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/custom.el2
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 @@
11999-12-16 Dave Love <fx@gnu.org> 11999-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.