mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* net/ange-ftp.el (ange-ftp-quote-string): Return the null string
when the argument is nil.
This commit is contained in:
parent
00ca5ce2ea
commit
c200c78dc5
2 changed files with 8 additions and 1 deletions
|
|
@ -1527,7 +1527,9 @@ then kill the related ftp process."
|
|||
;; and that by doubling it. But experiment says UNIX-style kind of
|
||||
;; quoting is correct when talking to ftp on GNU/Linux systems, and
|
||||
;; W32-style kind of quoting on, yes, W32 systems.
|
||||
(when (stringp string) (shell-quote-argument string)))
|
||||
(if (stringp string)
|
||||
(shell-quote-argument string)
|
||||
""))
|
||||
|
||||
(defun ange-ftp-barf-if-not-directory (directory)
|
||||
(or (file-directory-p directory)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue