aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/eshell/esh-ext.el6
-rw-r--r--lisp/net/tramp-sh.el6
3 files changed, 17 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 72eafdca639..bfca3f073f2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12012-08-29 Michael Albinus <michael.albinus@gmx.de>
2
3 * eshell/esh-ext.el (eshell-external-command): Do not examine
4 remote shell scripts. See
5 <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6
7 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8 "/usr/local/sbin".
9
12012-08-28 Stefan Monnier <monnier@iro.umontreal.ca> 102012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2 11
3 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293). 12 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el
index 52df1587d5f..f9f9b1a558f 100644
--- a/lisp/eshell/esh-ext.el
+++ b/lisp/eshell/esh-ext.el
@@ -209,7 +209,11 @@ causing the user to wonder if anything's really going on..."
209 (setq args (eshell-stringify-list (eshell-flatten-list args))) 209 (setq args (eshell-stringify-list (eshell-flatten-list args)))
210 ;; (if (file-remote-p default-directory) 210 ;; (if (file-remote-p default-directory)
211 ;; (eshell-remote-command command args)) 211 ;; (eshell-remote-command command args))
212 (let ((interp (eshell-find-interpreter command))) 212 (let ((interp (eshell-find-interpreter
213 command
214 ;; Do not examine remote shell scripts.
215 (or (and (stringp command) (file-remote-p command))
216 (file-remote-p default-directory)))))
213 (cl-assert interp) 217 (cl-assert interp)
214 (if (functionp (car interp)) 218 (if (functionp (car interp))
215 (apply (car interp) (append (cdr interp) args)) 219 (apply (car interp) (append (cdr interp) args))
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 6283188d46a..2c1af3e83fa 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -512,9 +512,9 @@ detected as prompt when being sent on echoing hosts, therefore.")
512;; IRIX64: /usr/bin 512;; IRIX64: /usr/bin
513;;;###tramp-autoload 513;;;###tramp-autoload
514(defcustom tramp-remote-path 514(defcustom tramp-remote-path
515 '(tramp-default-remote-path "/bin" "/usr/bin" "/usr/sbin" 515 '(tramp-default-remote-path "/bin" "/usr/bin" "/sbin" "/usr/sbin"
516 "/usr/local/bin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin" 516 "/usr/local/bin" "/usr/local/sbin" "/local/bin" "/local/freeware/bin"
517 "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin" 517 "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin"
518 "/opt/bin" "/opt/sbin" "/opt/local/bin") 518 "/opt/bin" "/opt/sbin" "/opt/local/bin")
519 "List of directories to search for executables on remote host. 519 "List of directories to search for executables on remote host.
520For every remote host, this variable will be set buffer local, 520For every remote host, this variable will be set buffer local,