From 70fe82368444ff578b519da75c3669b6b5cf12f0 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 9 Sep 2012 17:11:14 -0400 Subject: * lisp/eshell/em-unix.el (eshell/sudo): Explicitly drop return value. --- lisp/eshell/em-unix.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/eshell/em-unix.el') diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el index 58402e37508..d3ddab8af1b 100644 --- a/lisp/eshell/em-unix.el +++ b/lisp/eshell/em-unix.el @@ -1111,7 +1111,7 @@ Execute a COMMAND as the superuser or another USER.") (substring prefix 0 -1) user host dir) (format "/sudo:%s@%s:%s" user host dir)))) ;; Ensure, that Tramp has connected to that construct already. - (file-exists-p default-directory) + (ignore (file-exists-p default-directory)) (eshell-named-command (car orig-args) (cdr orig-args)))))))) (put 'eshell/sudo 'eshell-no-numeric-conversions t) -- cgit v1.2.3