mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-07 20:54:32 +00:00
(tramp-handle-file-remote-p): New implementation to
agree with new return value of `file-remote-p'. This syncs with Tramp 2.0.42.
This commit is contained in:
parent
f3e6add22d
commit
15cc764cd1
@ -1,5 +1,9 @@
|
||||
2004-06-26 Kai Grossjohann <kai.grossjohann@gmx.net>
|
||||
|
||||
* net/tramp.el (tramp-handle-file-remote-p): New implementation to
|
||||
agree with new return value of `file-remote-p'.
|
||||
This syncs with Tramp 2.0.42.
|
||||
|
||||
* net/ange-ftp.el (ange-ftp-file-remote-p): New return value,
|
||||
according to new documentation of `file-remote-p'.
|
||||
|
||||
|
@ -3542,7 +3542,14 @@ This will break if COMMAND prints a newline, followed by the value of
|
||||
|
||||
(defun tramp-handle-file-remote-p (filename)
|
||||
"Like `file-remote-p' for tramp files."
|
||||
(when (tramp-tramp-file-p filename) t))
|
||||
(when (tramp-tramp-file-p filename)
|
||||
(with-parsed-tramp-file-name filename nil
|
||||
(make-tramp-file-name
|
||||
:multi-method multi-method
|
||||
:method method
|
||||
:user user
|
||||
:host host
|
||||
:localname ""))))
|
||||
|
||||
(defun tramp-handle-insert-file-contents
|
||||
(filename &optional visit beg end replace)
|
||||
|
Loading…
x
Reference in New Issue
Block a user