summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-ftp.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2020-07-12 15:02:56 +0200
committerMichael Albinus <michael.albinus@gmx.de>2020-07-12 15:02:56 +0200
commit7ee32966a951b2e07daf219da0f6f1eabf638a8a (patch)
tree99c2f112f60435450e985b6aca8e0a4006dcb2a5 /lisp/net/tramp-ftp.el
parent4a467f759151a0638acef3685d4e19e11b745e5b (diff)
downloademacs-7ee32966a951b2e07daf219da0f6f1eabf638a8a.tar.gz
emacs-7ee32966a951b2e07daf219da0f6f1eabf638a8a.tar.bz2
emacs-7ee32966a951b2e07daf219da0f6f1eabf638a8a.zip
More Tramp code cleanup
* 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.
Diffstat (limited to 'lisp/net/tramp-ftp.el')
-rw-r--r--lisp/net/tramp-ftp.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/net/tramp-ftp.el b/lisp/net/tramp-ftp.el
index 33d49aa67ff..996a92454f1 100644
--- a/lisp/net/tramp-ftp.el
+++ b/lisp/net/tramp-ftp.el
@@ -31,8 +31,7 @@
(require 'tramp)
;; Pacify byte-compiler.
-(eval-when-compile
- (require 'custom))
+(eval-when-compile (require 'custom))
(defvar ange-ftp-ftp-name-arg)
(defvar ange-ftp-ftp-name-res)
(defvar ange-ftp-name-format)