• Michael Albinus's avatar
    More Tramp code cleanup · 7ee32966
    Michael Albinus authored
    * lisp/net/tramp.el (tramp-process-actions):
    * lisp/net/tramp-adb.el (tramp-adb-handle-file-system-info)
    (tramp-adb-handle-set-file-times)
    (tramp-adb-maybe-open-connection):
    * lisp/net/tramp-cmds.el (tramp-rename-files, tramp-rename-these-files)
    (tramp-reporter-dump-variable):
    * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-stat)
    (tramp-sh-handle-file-selinux-context)
    (tramp-do-directory-files-and-attributes-with-stat)
    (tramp-sh-handle-file-name-all-completions)
    (tramp-sh-handle-write-region)
    (tramp-sh-handle-file-notify-add-watch)
    (tramp-sh-gvfs-monitor-dir-process-filter)
    (tramp-sh-inotifywait-process-filter)
    (tramp-sh-handle-file-system-info, tramp-find-executable)
    (tramp-open-shell, tramp-find-shell):
    * lisp/net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat)
    (tramp-smb-handle-file-system-info):
    * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-selinux-context)
    (tramp-sudoedit-handle-file-system-info): Remove superfluous
    `eval-when-compile', `concat' creates the string during byte
    compilation.  Reported by Mattias Engdegård <mattiase@acm.org>.
    
    * lisp/net/tramp-adb.el (tramp-adb-prompt): Simplify.
    (tramp-adb-send-command):
    * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-string-to-byte-array):
    Use `string-match-p'.
    
    * lisp/net/tramp-sh.el (tramp-sunos-unames): New defconst.
    (tramp-find-executable, tramp-find-shell, tramp-get-remote-stat): Use it.
    7ee32966
tramp-ftp.el 7.45 KB