]> git.eshelyaron.com Git - emacs.git/commit
New macro connection-local-p
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 12 Dec 2023 16:39:51 +0000 (17:39 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 14 Dec 2023 12:11:06 +0000 (13:11 +0100)
commite4adceb7d16a995f1325557646ae01d160e72c48
tree890d05e383473fa5fa8c32581d36f21c8df3e69f
parentaed86852ea872d546e8a6fc25e830953e7a2545e
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.

(cherry picked from commit 67654fe96577823e6fcbd3e88b9779653f8b6201)
doc/lispref/variables.texi
etc/NEWS
lisp/files-x.el
lisp/net/tramp-compat.el
lisp/net/tramp-crypt.el
test/lisp/files-x-tests.el
test/lisp/net/tramp-tests.el