aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/Makefile.in2
-rw-r--r--lisp/net/tramp-sh.el2
3 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ad4f3b9a7f3..ce381315b40 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12015-02-08 Paul Eggert <eggert@cs.ucla.edu>
2
3 Port to platforms lacking test -a and -o
4 * Makefile.in (compile-clean):
5 * net/tramp-sh.el (tramp-find-executable):
6 Prefer '&&' and '||' to 'test -a' and 'test -o'.
7
12015-02-08 Artur Malabarba <bruce.connor.am@gmail.com> 82015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
2 9
3 * newcomment.el (comment-line): Fix missing paren. 10 * newcomment.el (comment-line): Fix missing paren.
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 7bf53861e71..e5cfc6326e1 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -324,7 +324,7 @@ compile-clean:
324 @cd $(lisp) && $(setwins); \ 324 @cd $(lisp) && $(setwins); \
325 elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \ 325 elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \
326 for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \ 326 for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \
327 if test -f "$$el" -o \! -f "$${el}c"; then :; else \ 327 if test -f "$$el" || test ! -f "$${el}c"; then :; else \
328 echo rm "$${el}c"; \ 328 echo rm "$${el}c"; \
329 rm "$${el}c"; \ 329 rm "$${el}c"; \
330 fi \ 330 fi \
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 9c8a222285c..45050cdd77a 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -3796,7 +3796,7 @@ This function expects to be in the right *tramp* buffer."
3796 (tramp-send-command 3796 (tramp-send-command
3797 vec 3797 vec
3798 (format (concat "while read d; " 3798 (format (concat "while read d; "
3799 "do if test -x $d/%s -a -f $d/%s; " 3799 "do if test -x $d/%s && test -f $d/%s; "
3800 "then echo tramp_executable $d/%s; " 3800 "then echo tramp_executable $d/%s; "
3801 "break; fi; done <<'%s'\n" 3801 "break; fi; done <<'%s'\n"
3802 "%s\n%s") 3802 "%s\n%s")