diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-01-14 16:45:40 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-01-14 16:45:40 -0500 |
commit | 5039f79340c408f26f9fb606ce29e72afc2fb01d (patch) | |
tree | cb12984667f251f8e9e2f2657e8774e0fe16dbdb /doc/lispintro/lambda-2.pdf | |
parent | 53514e77a5a85b53ea0acd55f2ea5f1f78dc356c (diff) | |
download | emacs-5039f79340c408f26f9fb606ce29e72afc2fb01d.tar.gz emacs-5039f79340c408f26f9fb606ce29e72afc2fb01d.tar.bz2 emacs-5039f79340c408f26f9fb606ce29e72afc2fb01d.zip |
Fix marking "delayed-initialization" vars as dynamically scoped
We used to mark those vars as dynbound in `custom-reevaluate-setting`
which forced us to bind `current-load-list` around it to avoid having
the vars be associated with the wrong file. Move this marking to
`custom-initialize-delay` so we don't need this workaround.
* lisp/custom.el (custom-initialize-delay): Mark the var as dynamic.
(custom-reevaluate-setting): Don't use `defvar` here.
* lisp/startup.el (command-line): Don't let-bind `current-load-list`
around calls to `custom-reevaluate-setting`.
Diffstat (limited to 'doc/lispintro/lambda-2.pdf')
0 files changed, 0 insertions, 0 deletions