]> code.delx.au - gnu-emacs/blobdiff - lisp/net/ange-ftp.el
* net/tramp.el (tramp-methods): Fix docstring.
[gnu-emacs] / lisp / net / ange-ftp.el
index ea318ec3250ea40784551da7471e9e396c21ff51..2b8c7ae145baf4247fd83746eebaba592c1e63c1 100644 (file)
@@ -4084,7 +4084,8 @@ directory, so that Emacs will know its current contents."
        (or (file-exists-p parent)
            (ange-ftp-make-directory parent parents))))
   (if (file-exists-p dir)
-      (error "Cannot make directory %s: file already exists" dir)
+      (unless parents
+       (error "Cannot make directory %s: file already exists" dir))
     (let ((parsed (ange-ftp-ftp-name dir)))
       (if parsed
          (let* ((host (nth 0 parsed))
@@ -5133,7 +5134,7 @@ Other orders of $ and _ seem to all work just fine.")
        (forward-line 1))
       ;; Would like to look for a "Total" line, or a "Directory" line to
       ;; make sure that the listing isn't complete garbage before putting
-      ;; in "." and "..", but we can't even count on all VAX's giving us
+      ;; in "." and "..", but we can't count on VMS giving us
       ;; either of these.
       (puthash "." t tbl)
       (puthash ".." t tbl))