]> git.eshelyaron.com Git - emacs.git/commit
Fix error in tramp-archive-autoload-file-name-handler
authorFelix Dietrich <felix.dietrich@sperrhaken.name>
Thu, 7 Apr 2022 10:04:22 +0000 (12:04 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 7 Apr 2022 10:04:22 +0000 (12:04 +0200)
commitaab36e18950e23100718eaedb14ef9176f5d3da2
tree00f7af5773b449a167fbb7dcb7023ab041c7d52a
parent11a1f7817e293f67fb0b1136859c2f7393c1adfb
Fix error in tramp-archive-autoload-file-name-handler

* lisp/net/tramp-archive.el (tramp-archive-autoload-file-name-handler):
Always call `tramp-autoload-file-name'.  Otherwise, when
`tramp-archive-enabled’ is nil and
`tramp-archive-autoload-file-name-handler’ is in the
`file-name-handler-alist’ results in an error “Invalid handler in
`file-name-handler-alist” once Emacs calls
`tramp-archive-autoload-file-name-handler’ with a handler that
does not expect nil.  Always returning nil is also false in
general.

Copyright-paperwork-exempt: yes
lisp/net/tramp-archive.el