Mercurial > emacs
comparison lisp/mail/vms-pmail.el @ 73737:401ef839523a
(vms-pmail-save-and-exit, vms-pmail-abort, vms-pmail-setup):
Fix typos in docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 06 Nov 2006 02:28:41 +0000 |
parents | 067115a6e738 |
children | f7702c5f335d 02cf29720f31 |
comparison
equal
deleted
inserted
replaced
73736:a273e3f81411 | 73737:401ef839523a |
---|---|
38 ;;; emacs_command_args which contains the command line | 38 ;;; emacs_command_args which contains the command line |
39 ;;; (3) mod to re-parse command line arguments from emacs_command_args | 39 ;;; (3) mod to re-parse command line arguments from emacs_command_args |
40 ;;; then execute them as though emacs were just starting up. | 40 ;;; then execute them as though emacs were just starting up. |
41 ;;; | 41 ;;; |
42 (defun vms-pmail-save-and-exit () | 42 (defun vms-pmail-save-and-exit () |
43 "Save current buffer and exit emacs. | 43 "Save current buffer and exit Emacs. |
44 If this emacs cannot be suspended, you will be prompted about modified | 44 If this Emacs cannot be suspended, you will be prompted about modified |
45 buffers other than the mail buffer. BEWARE --- suspending emacs without | 45 buffers other than the mail buffer. BEWARE --- suspending Emacs without |
46 saving your mail buffer causes mail to abort the send (potentially useful | 46 saving your mail buffer causes mail to abort the send (potentially useful |
47 since the mail buffer is still here)." | 47 since the mail buffer is still here)." |
48 (interactive) | 48 (interactive) |
49 (basic-save-buffer) | 49 (basic-save-buffer) |
50 (if (vms-system-info "LOGICAL" "DONT_SUSPEND_EMACS") | 50 (if (vms-system-info "LOGICAL" "DONT_SUSPEND_EMACS") |
53 (kill-emacs 1)) | 53 (kill-emacs 1)) |
54 (kill-buffer (current-buffer)) | 54 (kill-buffer (current-buffer)) |
55 (suspend-emacs))) | 55 (suspend-emacs))) |
56 | 56 |
57 (defun vms-pmail-abort () | 57 (defun vms-pmail-abort () |
58 "Mark buffer as unmodified and exit emacs. | 58 "Mark buffer as unmodified and exit Emacs. |
59 When the editor is exited without saving its buffer, VMS mail does not | 59 When the editor is exited without saving its buffer, VMS mail does not |
60 send a message. If you have other modified buffers you will be | 60 send a message. If you have other modified buffers you will be |
61 prompted for what to do with them." | 61 prompted for what to do with them." |
62 (interactive) | 62 (interactive) |
63 (if (not (yes-or-no-p "Really abort mail? ")) | 63 (if (not (yes-or-no-p "Really abort mail? ")) |
76 following bindings are established. | 76 following bindings are established. |
77 | 77 |
78 \\[vms-pmail-save-and-exit] vms-pmail-save-and-exit | 78 \\[vms-pmail-save-and-exit] vms-pmail-save-and-exit |
79 \\[vms-pmail-abort] vms-pmail-abort | 79 \\[vms-pmail-abort] vms-pmail-abort |
80 | 80 |
81 All other emacs commands are still available." | 81 All other Emacs commands are still available." |
82 (interactive) | 82 (interactive) |
83 (auto-save-mode -1) | 83 (auto-save-mode -1) |
84 (text-mode) | 84 (text-mode) |
85 (let ((default (vms-system-info "LOGICAL" "SYS$SCRATCH")) | 85 (let ((default (vms-system-info "LOGICAL" "SYS$SCRATCH")) |
86 (directory (file-name-directory (buffer-file-name))) | 86 (directory (file-name-directory (buffer-file-name))) |