1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-02 21:52:04 -08:00
emacs/doc
Stefan Kangas ce03bf252a Make second arg to defvar-local optional
This change allows declaring a variable both special
and buffer-local like so:

    (defvar-local foo)

* lisp/subr.el (defvar-local): Make second argument optional.
* test/lisp/subr-tests.el (subr-test-defvar-local): New test.
* doc/lispref/variables.texi (Creating Buffer-Local): Document above change.
* etc/NEWS:

* lisp/mb-depth.el (minibuffer-depth-overlay):
* lisp/minibuf-eldef.el (minibuf-eldef-initial-input)
(minibuf-eldef-initial-buffer-length)
(minibuf-eldef-showing-default-in-prompt, minibuf-eldef-overlay):
* lisp/misc.el (list-dynamic-libraries--loaded-only-p):
* lisp/simple.el (minibuffer-history-isearch-message-overlay): Use
above new one-argument form of 'defvar-local'.
2025-03-09 18:24:22 +01:00
..
emacs ; Fix last commit 2025-03-06 12:52:51 +01:00
lispintro ; Delete troff markers from ChangeLog files 2025-02-20 02:46:43 +01:00
lispref Make second arg to defvar-local optional 2025-03-09 18:24:22 +01:00
man ; Delete troff markers from ChangeLog files 2025-02-20 02:46:43 +01:00
misc Eglot: the margin code action indicator is interactive 2025-03-08 05:36:48 +00:00
translations Update copyright year to 2025 2025-01-02 18:39:42 +01:00