diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2020-11-18 12:53:03 +0000 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2020-11-24 16:50:37 +0000 |
commit | dea3d6aa18e54f0d8d75cd219b511bac5b3c87b1 (patch) | |
tree | f88602aab719cf200a3c265c3a893c415aa23c14 /test/lisp/emacs-lisp/subr-x-tests.el | |
parent | b2ee6650243ed2777f3a6c400f194f770f00da6f (diff) | |
download | emacs-dea3d6aa18e54f0d8d75cd219b511bac5b3c87b1.tar.gz emacs-dea3d6aa18e54f0d8d75cd219b511bac5b3c87b1.tar.bz2 emacs-dea3d6aa18e54f0d8d75cd219b511bac5b3c87b1.zip |
Fix handling of defcustom :local tag
For discussion, see the following emacs-devel thread:
https://lists.gnu.org/r/emacs-devel/2020-11/msg00734.html
* lisp/custom.el (custom-declare-variable): Delay call to
make-variable-buffer-local until after user option has been
initialized with a value. Otherwise the user option may be
initialized to nil.
* test/lisp/custom-tests.el (custom--test-local-option)
(custom--test-permanent-option): New :local user options.
(custom-test-local-option): New test for defcustom :local keyword.
Diffstat (limited to 'test/lisp/emacs-lisp/subr-x-tests.el')
0 files changed, 0 insertions, 0 deletions