]> git.eshelyaron.com Git - emacs.git/commit
Improve performance when checking case-sensitivity of Tramp file names
authorJim Porter <jporterbugs@gmail.com>
Tue, 9 Nov 2021 18:59:14 +0000 (19:59 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 9 Nov 2021 18:59:14 +0000 (19:59 +0100)
commitcef31747b602c423842caa50cbfee9ca804289a3
tree6e57c298a0f62f1d6abbb97c9d53a1732632aaab
parent3b5069e225983c9f894017f41f0a96a72020206f
Improve performance when checking case-sensitivity of Tramp file names

* lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
Dissect file name before testing for connectability to reduce
duplicated work.

* lisp/net/tramp.el (tramp-handle-file-name-case-insensitive-p):
Use `tramp-connectable-p' to test for connection.
lisp/net/tramp-sh.el
lisp/net/tramp.el