diff options
| author | Richard M. Stallman | 1995-04-25 04:09:47 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-04-25 04:09:47 +0000 |
| commit | efa5c63ad5c001901ee5eb9d2d484b021b3110f5 (patch) | |
| tree | 51326ce2c81b2e63f559fc91778ea7d5d7bef7e8 | |
| parent | 5313d5f1efbb3088851ac25bb6057b6c0a9eba4e (diff) | |
| download | emacs-efa5c63ad5c001901ee5eb9d2d484b021b3110f5.tar.gz emacs-efa5c63ad5c001901ee5eb9d2d484b021b3110f5.zip | |
(rmail-insert-inbox-text): Get the truename of
the standard inbox name, not just of its directory.
| -rw-r--r-- | lisp/mail/rmail.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 08c6ed6d217..96f9e02816c 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -930,8 +930,10 @@ It returns t if it got any new messages." | |||
| 930 | ;; If getting from mail spool directory, | 930 | ;; If getting from mail spool directory, |
| 931 | ;; use movemail to move rather than just renaming, | 931 | ;; use movemail to move rather than just renaming, |
| 932 | ;; so as to interlock with the mailer. | 932 | ;; so as to interlock with the mailer. |
| 933 | (setq movemail (string= (file-name-directory file) | 933 | (setq movemail (string= file |
| 934 | (file-truename rmail-spool-directory)) | 934 | (file-truename |
| 935 | (concat rmail-spool-directory | ||
| 936 | (file-name-nondirectory file)))) | ||
| 935 | popmail (string-match "^po:" (file-name-nondirectory file))) | 937 | popmail (string-match "^po:" (file-name-nondirectory file))) |
| 936 | (if popmail (setq file (file-name-nondirectory file) | 938 | (if popmail (setq file (file-name-nondirectory file) |
| 937 | renamep t)) | 939 | renamep t)) |