1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 19:42:53 -08:00
emacs/doc
Jim Porter bf505a63f9 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.
2021-11-15 13:33:07 +01:00
..
emacs Options to automatically stop the Emacs server 2021-11-11 06:43:10 +01:00
lispintro Merge from origin/emacs-28 2021-11-12 07:17:11 +01:00
lispref Support abbreviating home directory of Tramp filenames 2021-11-15 13:33:07 +01:00
man ; * doc/man/emacsclient.1: Bump date after last change. 2021-11-05 01:10:32 +01:00
misc Allow mm-external-terminal-program to be a list of strings 2021-11-15 07:38:21 +01:00