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:
parent
291cfb968c
commit
3920868a41
2 changed files with 5 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue