summaryrefslogtreecommitdiff
path: root/lisp/gnus/mml.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/mml.el')
-rw-r--r--lisp/gnus/mml.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el
index 093e582ea7a..a36f29ba100 100644
--- a/lisp/gnus/mml.el
+++ b/lisp/gnus/mml.el
@@ -980,13 +980,10 @@ type detected."
(symbol-name type) value))))))
(defvar ange-ftp-name-format)
-(defvar efs-path-regexp)
(defun mml-parse-file-name (path)
- (if (if (boundp 'efs-path-regexp)
- (string-match efs-path-regexp path)
- (if (boundp 'ange-ftp-name-format)
- (string-match (car ange-ftp-name-format) path)))
+ (if (and (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))