emacs-gpu/doc
Jim Porter 3cc356abfe Add helpers to dynamically assign connection-local values
* lisp/files-x.el (connection-local-criteria)
(connection-local-profile-name-for-setq): New variables.
(with-connection-local-variables-1): ... let-bind them here.
(connection-local-update-profile-variables)
(connection-local-profile-name-for-criteria): New functions.
(with-connection-local-application-variables, setq-connection-local):
New macros.

* test/lisp/files-x-tests.el: Require 'tramp-integration'
(files-x-test--variable5, remote-lazy-var): New variables.
(files-x-test-hack-connection-local-variables-apply): Expand checks.
(files-x-test-with-connection-local-variables): Remove
'hack-connection-local-variables-apply' check (it belongs in the above
test), and expand some other checks.
(files-x-test--get-lazy-var, files-x-test--set-lazy-var): New
functions.
(files-x-test-connection-local-update-profile-variables)
(files-x-test-setq-connection-local): New tests.

* doc/lispref/variables.texi (Connection Local Variables): Split into
two subsections and document the new features.

* etc/NEWS: Announce 'setq-connection-local'.
2022-10-17 18:48:52 -07:00
..
emacs Merge from origin/emacs-28 2022-10-16 08:27:16 +02:00
lispintro Abolish max-specpdl-size (bug#57911) 2022-09-19 19:30:03 +02:00
lispref Add helpers to dynamically assign connection-local values 2022-10-17 18:48:52 -07:00
man Add new --timeout flag to emacsclient 2022-09-06 02:05:18 +02:00
misc Update version information in Gnus manual 2022-10-17 20:13:22 +02:00