diff options
author | Jim Porter <jporterbugs@gmail.com> | 2021-11-15 13:33:07 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2021-11-15 13:33:07 +0100 |
commit | bf505a63f98ed61934a8fb81ec65c96859606b6e (patch) | |
tree | df91fd6e5fe4150b273234e9dd13c833706e4267 /lisp/net/tramp-archive.el | |
parent | cff1702a52d9f116d9180a1a1597130474574fd8 (diff) | |
download | emacs-bf505a63f98ed61934a8fb81ec65c96859606b6e.tar.gz emacs-bf505a63f98ed61934a8fb81ec65c96859606b6e.tar.bz2 emacs-bf505a63f98ed61934a8fb81ec65c96859606b6e.zip |
Support abbreviating home directory of Tramp filenames
* doc/lispref/files.texi (Magic File Names): Mention
'abbreviate-file-name' in the list of magic file name handlers.
* etc/NEWS: Announce the change.
* lisp/files.el (file-name-non-special):
* lisp/net/tramp.el (tramp-file-name-for-operation):
* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist):
Add 'abbreviate-file-name'.
* lisp/files.el (directory-abbrev-make-regexp):
(directory-abbrev-apply): New functions.
(abbreviate-file-name): Check for file name handler.
* test/lisp/net/tramp-tests.el (tramp-test07-abbreviate-file-name):
New test.
Diffstat (limited to 'lisp/net/tramp-archive.el')
0 files changed, 0 insertions, 0 deletions