mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
`file-remote-p' must not return an error
* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler): `file-remote-p' must not return an error. (Bug#68976)
This commit is contained in:
parent
d6c7092ff0
commit
08c81db7c8
1 changed files with 2 additions and 1 deletions
|
|
@ -888,7 +888,8 @@ Operations not mentioned here will be handled by the default Emacs primitives.")
|
|||
"Invoke the GVFS related OPERATION and ARGS.
|
||||
First arg specifies the OPERATION, second arg is a list of
|
||||
arguments to pass to the OPERATION."
|
||||
(unless tramp-gvfs-enabled
|
||||
;; `file-remote-p' must not return an error. (Bug#68976)
|
||||
(unless (or tramp-gvfs-enabled (eq operation 'file-remote-p))
|
||||
(tramp-user-error nil "Package `tramp-gvfs' not supported"))
|
||||
(if-let ((filename (apply #'tramp-file-name-for-operation operation args))
|
||||
(tramp-gvfs-dbus-event-vector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue