changeset 36830:7c77da3d3841

(rmail-insert-inbox-text): Call expand-file-name before substitute-in-file-name to handle double slashes in FILE correctly.
author Kenichi Handa <handa@m17n.org>
date Fri, 16 Mar 2001 05:52:16 +0000
parents c7c0c945a4b4
children 6e6acbca47d7
files lisp/mail/rmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Fri Mar 16 05:51:37 2001 +0000
+++ b/lisp/mail/rmail.el	Fri Mar 16 05:52:16 2001 +0000
@@ -1376,7 +1376,7 @@
       (if popmail
 	  (setq renamep t)
 	(setq file (file-truename
-		    (expand-file-name (substitute-in-file-name file)))))
+		    (substitute-in-file-name (expand-file-name file)))))
       (setq tofile (expand-file-name
 		    ;; Generate name to move to from inbox name,
 		    ;; in case of multiple inboxes that need moving.