summaryrefslogtreecommitdiff
path: root/lisp/org
diff options
context:
space:
mode:
authorJim Porter <jporterbugs@gmail.com>2022-10-11 22:11:04 -0700
committerJim Porter <jporterbugs@gmail.com>2022-10-17 18:48:52 -0700
commit3cc356abfef8294abcb91dc421e3c63a561a11b4 (patch)
tree79fd49b558b5880a04c41461794d380b682d93f1 /lisp/org
parent1beb389e472ab8132b478c9f24dd0ab6b7398670 (diff)
downloademacs-3cc356abfef8294abcb91dc421e3c63a561a11b4.tar.gz
emacs-3cc356abfef8294abcb91dc421e3c63a561a11b4.tar.bz2
emacs-3cc356abfef8294abcb91dc421e3c63a561a11b4.zip
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'.
Diffstat (limited to 'lisp/org')
0 files changed, 0 insertions, 0 deletions