diff options
| author | Michael Albinus <michael.albinus@gmx.de> | 2023-12-12 17:39:51 +0100 |
|---|---|---|
| committer | Michael Albinus <michael.albinus@gmx.de> | 2023-12-12 17:39:51 +0100 |
| commit | 67654fe96577823e6fcbd3e88b9779653f8b6201 (patch) | |
| tree | 1776c284394d4a0f5f6bd6bdebe536c5edcaf147 /etc/NEWS | |
| parent | 6abea4d98d1d964c68a78cb9b5321071da851654 (diff) | |
| download | emacs-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/NEWS | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |
