Mercurial > emacs
comparison lisp/mail/sendmail.el @ 42522:bf0d83587878
(mail-recover-1, mail-recover): Doc fix.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 04 Jan 2002 10:25:20 +0000 |
parents | 0ae15950ed66 |
children | 4c65aa6c1046 |
comparison
equal
deleted
inserted
replaced
42521:72a5aec83cab | 42522:bf0d83587878 |
---|---|
1534 (file-exists-p buffer-auto-save-file-name)) | 1534 (file-exists-p buffer-auto-save-file-name)) |
1535 (message "Auto save file for draft message exists; consider M-x mail-recover")) | 1535 (message "Auto save file for draft message exists; consider M-x mail-recover")) |
1536 initialized)) | 1536 initialized)) |
1537 | 1537 |
1538 (defun mail-recover-1 () | 1538 (defun mail-recover-1 () |
1539 "Pop up a list of auto-saved draft messages and allow to recover them." | 1539 "Pop up a list of auto-saved draft messages so you can recover one of them." |
1540 (interactive) | 1540 (interactive) |
1541 (let ((file-name (make-auto-save-file-name)) | 1541 (let ((file-name (make-auto-save-file-name)) |
1542 (ls-lisp-support-shell-wildcards t) | 1542 (ls-lisp-support-shell-wildcards t) |
1543 non-random-len wildcard) | 1543 non-random-len wildcard) |
1544 ;; Remove the random part from the auto-save-file-name, and | 1544 ;; Remove the random part from the auto-save-file-name, and |
1605 ;; encoding when they send the message. | 1605 ;; encoding when they send the message. |
1606 (setq buffer-file-coding-system | 1606 (setq buffer-file-coding-system |
1607 default-buffer-file-coding-system)))))))) | 1607 default-buffer-file-coding-system)))))))) |
1608 | 1608 |
1609 (defun mail-recover () | 1609 (defun mail-recover () |
1610 "Recover interrupted mail composition from auto-save files." | 1610 "Recover interrupted mail composition from auto-save files. |
1611 | |
1612 If the mail buffer has a current valid auto-save file, | |
1613 the command recovers that file. Otherwise, it displays a | |
1614 buffer showing the existing auto-saved draft messages; | |
1615 you can move to one of them and type C-c C-c to recover that one." | |
1611 (interactive) | 1616 (interactive) |
1612 ;; In case they invoke us from some random buffer... | 1617 ;; In case they invoke us from some random buffer... |
1613 (switch-to-buffer "*mail*") | 1618 (switch-to-buffer "*mail*") |
1614 ;; If *mail* didn't exist, set its directory, so that auto-saved | 1619 ;; If *mail* didn't exist, set its directory, so that auto-saved |
1615 ;; drafts will be found. | 1620 ;; drafts will be found. |