aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2008-02-19 19:23:19 +0000
committerMichael Albinus2008-02-19 19:23:19 +0000
commitc200c78dc5f1dea42f480d70aff099e6370ad286 (patch)
tree22d2142b385e692d32d308affe5661fb717a253a
parent00ca5ce2ea0ac589121f0ee0f2d3f601c6cf1fb7 (diff)
downloademacs-c200c78dc5f1dea42f480d70aff099e6370ad286.tar.gz
emacs-c200c78dc5f1dea42f480d70aff099e6370ad286.zip
* net/ange-ftp.el (ange-ftp-quote-string): Return the null string
when the argument is nil.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/ange-ftp.el4
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 69fe9bca1f3..a71fa2a1b75 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
4 when the argument is nil.
5
12008-02-19 Dan Nicolaescu <dann@ics.uci.edu> 62008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * vc.el (dir-status): Add a brief description. 8 * vc.el (dir-status): Add a brief description.
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el
index aeb2a8dc0d5..ec138ca5d70 100644
--- a/lisp/net/ange-ftp.el
+++ b/lisp/net/ange-ftp.el
@@ -1527,7 +1527,9 @@ then kill the related ftp process."
1527 ;; and that by doubling it. But experiment says UNIX-style kind of 1527 ;; and that by doubling it. But experiment says UNIX-style kind of
1528 ;; quoting is correct when talking to ftp on GNU/Linux systems, and 1528 ;; quoting is correct when talking to ftp on GNU/Linux systems, and
1529 ;; W32-style kind of quoting on, yes, W32 systems. 1529 ;; W32-style kind of quoting on, yes, W32 systems.
1530 (when (stringp string) (shell-quote-argument string))) 1530 (if (stringp string)
1531 (shell-quote-argument string)
1532 ""))
1531 1533
1532(defun ange-ftp-barf-if-not-directory (directory) 1534(defun ange-ftp-barf-if-not-directory (directory)
1533 (or (file-directory-p directory) 1535 (or (file-directory-p directory)