• Michael Albinus's avatar
    Quote file names properly in Tramp · 88006cf5
    Michael Albinus authored
    * lisp/net/tramp.el (tramp-handle-file-truename)
    (tramp-handle-insert-directory):
    * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename):
    * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
    (tramp-sh-handle-insert-directory):
    * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
    * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-truename):
    Use `tramp-compat-directory-name-p'.
    
    * lisp/net/tramp.el (tramp-drop-volume-letter)
    (tramp-handle-file-truename):
    * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename):
    * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
    (tramp-sh-handle-file-truename):
    * lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
    * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-truename):
    (tramp-sudoedit-handle-make-symbolic-link): Quote properly.
    
    * lisp/net/tramp-compat.el (tramp-compat-file-name-quote)
    (tramp-compat-file-name-unquote): Add optional argument TOP.
    88006cf5
tramp.el 188 KB