diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-09-09 17:11:14 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-09-09 17:11:14 -0400 |
commit | 70fe82368444ff578b519da75c3669b6b5cf12f0 (patch) | |
tree | 9dab491fcca127519f5b3f970bfd0ace901bd17a /lisp | |
parent | aba05ce9b6381e3538cfc22dbce7dd7df4ad7342 (diff) | |
download | emacs-70fe82368444ff578b519da75c3669b6b5cf12f0.tar.gz emacs-70fe82368444ff578b519da75c3669b6b5cf12f0.tar.bz2 emacs-70fe82368444ff578b519da75c3669b6b5cf12f0.zip |
* lisp/eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 12 | ||||
-rw-r--r-- | lisp/eshell/em-unix.el | 2 |
2 files changed, 9 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f06856b475e..f46fbdcc9ed 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,9 +1,13 @@ +2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * eshell/em-unix.el (eshell/sudo): Explicitly drop return value. + 2012-09-09 Alan Mackenzie <acm@muc.de> - * progmodes/cc-engine.el (c-state-cache-init): Initialise - c-state-semi-nonlit-pos-cache\(-limit\)? properly. - (c-record-parse-state-state): record - c-state-semi-nonlit-pos-cache\(-limit\)?. + * progmodes/cc-engine.el (c-state-cache-init): + Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly. + (c-record-parse-state-state): + Record c-state-semi-nonlit-pos-cache\(-limit\)?. 2012-09-09 Andreas Schwab <schwab@linux-m68k.org> 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) |