• Michael Albinus's avatar
    Code cleanup. · 4c1f03ef
    Michael Albinus authored
    * net/tramp.el (tramp-debug-message): Do not check for connection
    buffer.
    (tramp-message): Use "vector" connection property.
    
    * net/tramp.el (tramp-rfn-eshadow-update-overlay)
    (tramp-equal-remote, tramp-eshell-directory-change)
    * net/tramp-adb.el (tramp-adb-handle-copy-file)
    (tramp-adb-handle-rename-file)
    * net/tramp-cmds.el (tramp-list-remote-buffers)
    (tramp-cleanup-connection, tramp-cleanup-this-connection)
    * net/tramp-compat.el (tramp-compat-process-running-p)
    * net/tramp-ftp.el (tramp-ftp-file-name-handler)
    * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
    (tramp-gvfs-handle-rename-file)
    * net/tramp-sh.el (tramp-sh-handle-set-file-times)
    (tramp-set-file-uid-gid)
    * net/tramp-smb.el (tramp-smb-handle-copy-file)
    (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
    of `file-remote-p'.
    
    * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
    * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
    (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
    (tramp-gw-open-network-stream): Suppress unrelated traces.
    
    * net/tramp-adb.el (tramp-adb-maybe-open-connection)
    * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
    * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
    * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
    connection property.
    
    * net/tramp-cache.el (top): Suppress traces when reading
    presistency file.
    
    * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
    Refactor common code.  Improve debug message.
    (tramp-maybe-open-connection)
    * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
    connection buffer too early.
    
    * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
    from `tramp-smb-actions-with-acl'.
    (tramp-smb-actions-set-acl): New defconst.
    (tramp-smb-handle-copy-directory)
    (tramp-smb-action-get-acl): New defun, renamed from
    `tramp-smb-action-with-acl'.
    (tramp-smb-action-set-acl): New defun.
    (tramp-smb-handle-set-file-acl): Rewrite.
    4c1f03ef
tramp-smb.el 72.7 KB