summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-tramp.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/eshell/em-tramp.el')
-rw-r--r--lisp/eshell/em-tramp.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/eshell/em-tramp.el b/lisp/eshell/em-tramp.el
index c60d0e6395f..fb816b76a7d 100644
--- a/lisp/eshell/em-tramp.el
+++ b/lisp/eshell/em-tramp.el
@@ -25,13 +25,13 @@
;;; Code:
+(require 'esh-util)
+
(eval-when-compile
(require 'esh-mode)
(require 'eshell)
(require 'tramp))
-(require 'esh-util)
-
;;;###autoload
(progn
(defgroup eshell-tramp nil
@@ -53,6 +53,8 @@
(append '("su" "sudo")
eshell-complex-commands)))
+(autoload 'eshell-parse-command "esh-cmd")
+
(defun eshell/su (&rest args)
"Alias \"su\" to call TRAMP.