summaryrefslogtreecommitdiff
path: root/etc/NEWS
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2023-12-12 17:39:51 +0100
committerMichael Albinus <michael.albinus@gmx.de>2023-12-12 17:39:51 +0100
commit67654fe96577823e6fcbd3e88b9779653f8b6201 (patch)
tree1776c284394d4a0f5f6bd6bdebe536c5edcaf147 /etc/NEWS
parent6abea4d98d1d964c68a78cb9b5321071da851654 (diff)
downloademacs-67654fe96577823e6fcbd3e88b9779653f8b6201.tar.gz
New macro connection-local-p
* doc/lispref/variables.texi (Applying Connection Local Variables): Add macro 'connection-local-p'. * etc/NEWS: Add macro `connection-local-p'. * lisp/files-x.el (connection-local-p): New macro. (connection-local-value): Add debug declaration. * lisp/net/tramp-compat.el (tramp-compat-connection-local-p): New macro. * lisp/net/tramp-crypt.el (tramp-crypt-cleanup-connection): Bind `tramp-crypt-enabled'. * test/lisp/files-x-tests.el (files-x-test-connection-local-value): * test/lisp/net/tramp-tests.el (tramp-test18-file-attributes) (tramp-test35-remote-path): Adapt tests.
Diffstat (limited to 'etc/NEWS')
-rw-r--r--etc/NEWS7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 33afb34..1ff2f8a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1655,9 +1655,10 @@ dir-locals file to modify.
** Connection local variables
+++
-*** New macro 'connection-local-value'.
-This macro returns the connection-local value of a variable if any, or
-its current value.
+*** New macros 'connection-local-p' and 'connection-local-value'.
+The former macro returns non-nil if a variable has a connection-local
+binding. The latter macro returns the connection-local value of a
+variable if any, or its current value.
* Changes in Emacs 30.1 on Non-Free Operating Systems