1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

(custom-declare-variable): Purecopy value.

This commit is contained in:
Dave Love 1999-12-16 19:43:46 +00:00
parent 291cfb968c
commit 3920868a41
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
1999-12-16 Dave Love <fx@gnu.org>
* faces.el (set-face-attribute): Purecopy the attributes set.
* custom.el (custom-declare-variable): Purecopy value.
* bytecomp.el (byte-compile-bound-variables): Doc fix.
(byte-extrude-byte-code-vectors): Use remprop.
(byte-compile-lambda): Check that arg is a lambda.

View file

@ -135,7 +135,7 @@ not the default value itself."
((eq keyword :require)
(setq requests (cons value requests)))
((eq keyword :type)
(put symbol 'custom-type value))
(put symbol 'custom-type (purecopy value)))
((eq keyword :options)
(if (get symbol 'custom-options)
;; Slow safe code to avoid duplicates.