diff options
| author | Glenn Morris | 2009-01-27 03:42:31 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-01-27 03:42:31 +0000 |
| commit | c10782e6e594cc3fd27e05d71a29aa3b3193c081 (patch) | |
| tree | 7105feee0782de2ab7ada563aa95f67c730559da | |
| parent | 8d2b2df4b05e5b4909245625e4f8671ca152d2f9 (diff) | |
| download | emacs-c10782e6e594cc3fd27e05d71a29aa3b3193c081.tar.gz emacs-c10782e6e594cc3fd27e05d71a29aa3b3193c081.zip | |
Remove leading `*' from defcustom docs.
Remove needless autoloads of many defcustoms.
(rmail-output-to-babyl-buffer): Rename from
rmail-output-to-r-mail-buffer and update caller.
(rmail-output): Doc fix.
| -rw-r--r-- | lisp/mail/rmailout.el | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el index c2354ad9602..bbd09b1b61d 100644 --- a/lisp/mail/rmailout.el +++ b/lisp/mail/rmailout.el | |||
| @@ -28,16 +28,14 @@ | |||
| 28 | (require 'rmail) | 28 | (require 'rmail) |
| 29 | (provide 'rmailout) | 29 | (provide 'rmailout) |
| 30 | 30 | ||
| 31 | ;;;###autoload | ||
| 32 | (defcustom rmail-output-decode-coding nil | 31 | (defcustom rmail-output-decode-coding nil |
| 33 | "*If non-nil, do coding system decoding when outputting message as Babyl." | 32 | "If non-nil, do coding system decoding when outputting message as Babyl." |
| 34 | :type '(choice (const :tag "on" t) | 33 | :type '(choice (const :tag "on" t) |
| 35 | (const :tag "off" nil)) | 34 | (const :tag "off" nil)) |
| 36 | :group 'rmail) | 35 | :group 'rmail) |
| 37 | 36 | ||
| 38 | ;;;###autoload | ||
| 39 | (defcustom rmail-output-file-alist nil | 37 | (defcustom rmail-output-file-alist nil |
| 40 | "*Alist matching regexps to suggested output Rmail files. | 38 | "Alist matching regexps to suggested output Rmail files. |
| 41 | This is a list of elements of the form (REGEXP . NAME-EXP). | 39 | This is a list of elements of the form (REGEXP . NAME-EXP). |
| 42 | The suggestion is taken if REGEXP matches anywhere in the message buffer. | 40 | The suggestion is taken if REGEXP matches anywhere in the message buffer. |
| 43 | NAME-EXP may be a string constant giving the file name to use, | 41 | NAME-EXP may be a string constant giving the file name to use, |
| @@ -81,9 +79,8 @@ Set `rmail-default-file' to this name as well as returning it." | |||
| 81 | (or read-file (file-name-nondirectory default-file)) | 79 | (or read-file (file-name-nondirectory default-file)) |
| 82 | (file-name-directory default-file))))))) | 80 | (file-name-directory default-file))))))) |
| 83 | 81 | ||
| 84 | ;;;###autoload | ||
| 85 | (defcustom rmail-fields-not-to-output nil | 82 | (defcustom rmail-fields-not-to-output nil |
| 86 | "*Regexp describing fields to exclude when outputting a message to a file." | 83 | "Regexp describing fields to exclude when outputting a message to a file." |
| 87 | :type '(choice (const :tag "None" nil) | 84 | :type '(choice (const :tag "None" nil) |
| 88 | regexp) | 85 | regexp) |
| 89 | :group 'rmail-output) | 86 | :group 'rmail-output) |
| @@ -130,16 +127,13 @@ It alters the current buffer's text, so it should be a temp buffer." | |||
| 130 | rmail-current-message)))) | 127 | rmail-current-message)))) |
| 131 | ;; If MSG is non-nil, buffer is in RMAIL mode. | 128 | ;; If MSG is non-nil, buffer is in RMAIL mode. |
| 132 | (if msg | 129 | (if msg |
| 133 | (rmail-output-to-r-mail-buffer tembuf msg) | 130 | (rmail-output-to-babyl-buffer tembuf msg) |
| 134 | ;; Output file not in rmail mode => just insert at the end. | 131 | ;; Output file not in rmail mode => just insert at the end. |
| 135 | (narrow-to-region (point-min) (1+ (buffer-size))) | 132 | (narrow-to-region (point-min) (1+ (buffer-size))) |
| 136 | (goto-char (point-max)) | 133 | (goto-char (point-max)) |
| 137 | (insert-buffer-substring tembuf))))))) | 134 | (insert-buffer-substring tembuf))))))) |
| 138 | 135 | ||
| 139 | ;; When Rmail is really installed, if we delete or rename the old Rmail | 136 | (defun rmail-output-to-babyl-buffer (tembuf msg) |
| 140 | ;; we should do likewise with this function. | ||
| 141 | |||
| 142 | (defun rmail-output-to-r-mail-buffer (tembuf msg) | ||
| 143 | "Copy msg in TEMBUF from BEG to END into this old R-mail BABYL buffer. | 137 | "Copy msg in TEMBUF from BEG to END into this old R-mail BABYL buffer. |
| 144 | Do what is necessary to make babyl R-mail know about the new message. | 138 | Do what is necessary to make babyl R-mail know about the new message. |
| 145 | Then display message number MSG." | 139 | Then display message number MSG." |
| @@ -415,7 +409,7 @@ starting with the current one. Deleted messages are skipped and don't count. | |||
| 415 | When called from Lisp code, COUNT may be omitted and defaults to 1. | 409 | When called from Lisp code, COUNT may be omitted and defaults to 1. |
| 416 | 410 | ||
| 417 | This command always outputs the complete message header, | 411 | This command always outputs the complete message header, |
| 418 | even the header display is currently pruned. | 412 | even if the header display is currently pruned. |
| 419 | 413 | ||
| 420 | The optional third argument NOATTRIBUTE, if non-nil, says not | 414 | The optional third argument NOATTRIBUTE, if non-nil, says not |
| 421 | to set the `filed' attribute, and not to display a message. | 415 | to set the `filed' attribute, and not to display a message. |
| @@ -463,7 +457,7 @@ The optional fourth argument FROM-GNUS is set when called from GNUS." | |||
| 463 | ;; Convert the text to one format or another and output. | 457 | ;; Convert the text to one format or another and output. |
| 464 | (if babyl-format | 458 | (if babyl-format |
| 465 | (rmail-output-as-babyl file-name (if noattribute 'nomsg)) | 459 | (rmail-output-as-babyl file-name (if noattribute 'nomsg)) |
| 466 | (rmail-output-as-mbox file-name | 460 | (rmail-output-as-mbox file-name |
| 467 | (if noattribute 'nomsg)))))))) | 461 | (if noattribute 'nomsg)))))))) |
| 468 | 462 | ||
| 469 | ;; Mark message as "filed". | 463 | ;; Mark message as "filed". |