(mml-parse-file-name): Fix ange-ftp part.
authorDave Love <fx@gnu.org>
Wed, 24 May 2000 09:39:17 +0000 (09:39 +0000)
committerDave Love <fx@gnu.org>
Wed, 24 May 2000 09:39:17 +0000 (09:39 +0000)
lisp/mml.el

index b035bc5..707ce3c 100644 (file)
@@ -512,8 +512,8 @@ If MML is non-nil, return the buffer up till the correspondent mml tag."
 (defun mml-parse-file-name (path)
   (if (if (boundp 'efs-path-regexp)
          (string-match efs-path-regexp path)
-       (if (boundp 'ange-ftp-path-format)
-           (string-match (car ange-ftp-path-format))))
+       (if (boundp 'ange-ftp-name-format)
+           (string-match (car ange-ftp-name-format) path)))
       (list (match-string 1 path) (match-string 2 path)
            (substring path (1+ (match-end 2))))
     path))