diff options
| author | Richard M. Stallman | 2002-04-28 22:35:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-04-28 22:35:54 +0000 |
| commit | d41eb0aaeb89f8ae35d9ea6d0ff69dc91e095938 (patch) | |
| tree | a7b127b69280b607f65870a4e080e7ca45385837 /lisp/mail/sendmail.el | |
| parent | 3c4a7cf326091a804582f57c4a54aa2b465fea2f (diff) | |
| download | emacs-d41eb0aaeb89f8ae35d9ea6d0ff69dc91e095938.tar.gz emacs-d41eb0aaeb89f8ae35d9ea6d0ff69dc91e095938.zip | |
(mail-recover-1): Decrease non-random-len by 1 for the newly-readded #.
Diffstat (limited to 'lisp/mail/sendmail.el')
| -rw-r--r-- | lisp/mail/sendmail.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index a4610ed13e9..6bcb89d733d 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -1561,8 +1561,9 @@ The seventh argument ACTIONS is a list of actions to take | |||
| 1561 | ;; "#<RANDOM-STUFF>#" to the buffer name, where RANDOM-STUFF | 1561 | ;; "#<RANDOM-STUFF>#" to the buffer name, where RANDOM-STUFF |
| 1562 | ;; is the result of (make-temp-name ""). | 1562 | ;; is the result of (make-temp-name ""). |
| 1563 | (setq non-random-len | 1563 | (setq non-random-len |
| 1564 | (- (length file-name) (length (make-temp-name "")))) | 1564 | (- (length file-name) (length (make-temp-name "")) 1)) |
| 1565 | (setq wildcard (concat (substring file-name 0 non-random-len) "*")) | 1565 | (setq wildcard (concat (substring file-name 0 non-random-len) "*")) |
| 1566 | (debug) | ||
| 1566 | (if (null (file-expand-wildcards wildcard)) | 1567 | (if (null (file-expand-wildcards wildcard)) |
| 1567 | (message "There are no auto-saved drafts to recover") | 1568 | (message "There are no auto-saved drafts to recover") |
| 1568 | ;; Bind dired-trivial-filenames to t because all auto-save file | 1569 | ;; Bind dired-trivial-filenames to t because all auto-save file |