• Michael Albinus's avatar
    Use `file-attribute-*' in Tramp · 62b6c5d2
    Michael Albinus authored
    * lisp/net/tramp-compat.el (tramp-compat-file-attribute-type)
    (tramp-compat-file-attribute-link-number)
    (tramp-compat-file-attribute-user-id)
    (tramp-compat-file-attribute-group-id)
    (tramp-compat-file-attribute-modification-time)
    (tramp-compat-file-attribute-size)
    (tramp-compat-file-attribute-modes): New defaliases.
    
    * lisp/net/tramp.el (tramp-handle-file-modes)
    (tramp-handle-file-newer-than-file-p)
    (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
    (tramp-handle-set-visited-file-modtime)
    (tramp-handle-verify-visited-file-modtime)
    (tramp-get-local-gid, tramp-check-cached-permissions):
    * lisp/net/tramp-adb.el (tramp-adb-handle-file-directory-p)
    (tramp-adb-handle-file-truename, tramp-adb-handle-copy-file):
    * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory)
    (tramp-gvfs-handle-file-directory-p)
    (tramp-gvfs-handle-write-region, tramp-gvfs-get-remote-uid)
    (tramp-gvfs-get-remote-gid):
    * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
    (tramp-sh-handle-set-visited-file-modtime)
    (tramp-sh-handle-verify-visited-file-modtime)
    (tramp-sh-handle-file-newer-than-file-p)
    (tramp-sh-handle-file-ownership-preserved-p)
    (tramp-do-copy-or-rename-file)
    (tramp-do-copy-or-rename-file-via-buffer)
    (tramp-do-copy-or-rename-file-directly)
    (tramp-do-copy-or-rename-file-out-of-band)
    (tramp-sh-handle-file-local-copy)
    (tramp-sh-handle-write-region):
    * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
    (tramp-smb-handle-copy-file)
    (tramp-smb-handle-file-directory-p)
    (tramp-smb-handle-file-writable-p)
    (tramp-smb-handle-insert-directory): Use them.
    62b6c5d2
tramp-adb.el 46.7 KB