1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30: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

@ -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.