diff options
| author | Glenn Morris | 2009-01-27 03:42:08 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-01-27 03:42:08 +0000 |
| commit | 8d2b2df4b05e5b4909245625e4f8671ca152d2f9 (patch) | |
| tree | bec9370ff754f1eca5db1c9c0f8420800ef4b561 | |
| parent | d654dddf136abcf076d06d992f47508700e54bfb (diff) | |
| download | emacs-8d2b2df4b05e5b4909245625e4f8671ca152d2f9.tar.gz emacs-8d2b2df4b05e5b4909245625e4f8671ca152d2f9.zip | |
Remove leading `*' from defcustom docs.
Remove needless autoloads of many defcustoms.
(rmail-message-regexp-p-1): Check rmail-search-mime-header-function is set.
| -rw-r--r-- | lisp/mail/rmailsum.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 5928baca5f2..a5c26ccc076 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -34,15 +34,13 @@ | |||
| 34 | ;; For rmail-select-summary | 34 | ;; For rmail-select-summary |
| 35 | (require 'rmail) | 35 | (require 'rmail) |
| 36 | 36 | ||
| 37 | ;;;###autoload | ||
| 38 | (defcustom rmail-summary-scroll-between-messages t | 37 | (defcustom rmail-summary-scroll-between-messages t |
| 39 | "*Non-nil means Rmail summary scroll commands move between messages." | 38 | "Non-nil means Rmail summary scroll commands move between messages." |
| 40 | :type 'boolean | 39 | :type 'boolean |
| 41 | :group 'rmail-summary) | 40 | :group 'rmail-summary) |
| 42 | 41 | ||
| 43 | ;;;###autoload | ||
| 44 | (defcustom rmail-summary-line-count-flag t | 42 | (defcustom rmail-summary-line-count-flag t |
| 45 | "*Non-nil means Rmail summary should show the number of lines in each message." | 43 | "Non-nil means Rmail summary should show the number of lines in each message." |
| 46 | :type 'boolean | 44 | :type 'boolean |
| 47 | :group 'rmail-summary) | 45 | :group 'rmail-summary) |
| 48 | 46 | ||
| @@ -142,7 +140,9 @@ Emacs will list the header line in the RMAIL-summary." | |||
| 142 | (defun rmail-message-regexp-p-1 (msg regexp) | 140 | (defun rmail-message-regexp-p-1 (msg regexp) |
| 143 | (narrow-to-region (point) (save-excursion (search-forward "\n\n") (point))) | 141 | (narrow-to-region (point) (save-excursion (search-forward "\n\n") (point))) |
| 144 | (if rmail-enable-mime | 142 | (if rmail-enable-mime |
| 145 | (funcall rmail-search-mime-header-function msg regexp (point)) | 143 | (if rmail-search-mime-header-function |
| 144 | (funcall rmail-search-mime-header-function msg regexp (point)) | ||
| 145 | (error "You must set `rmail-search-mime-header-function'")) | ||
| 146 | (re-search-forward regexp nil t))) | 146 | (re-search-forward regexp nil t))) |
| 147 | 147 | ||
| 148 | ;;;###autoload | 148 | ;;;###autoload |
| @@ -318,7 +318,7 @@ buffer, or by creating a new summary buffer." | |||
| 318 | (if (and rmail-summary-buffer (buffer-name rmail-summary-buffer)) | 318 | (if (and rmail-summary-buffer (buffer-name rmail-summary-buffer)) |
| 319 | rmail-summary-buffer | 319 | rmail-summary-buffer |
| 320 | (generate-new-buffer (concat (buffer-name) "-summary")))) | 320 | (generate-new-buffer (concat (buffer-name) "-summary")))) |
| 321 | 321 | ||
| 322 | 322 | ||
| 323 | ;; Low levels of generating a summary. | 323 | ;; Low levels of generating a summary. |
| 324 | 324 | ||
| @@ -342,9 +342,8 @@ The current buffer contains the unrestricted message collection." | |||
| 342 | (aset rmail-summary-vector (1- msgnum) line)) | 342 | (aset rmail-summary-vector (1- msgnum) line)) |
| 343 | line)) | 343 | line)) |
| 344 | 344 | ||
| 345 | ;;;###autoload | ||
| 346 | (defcustom rmail-summary-line-decoder (function identity) | 345 | (defcustom rmail-summary-line-decoder (function identity) |
| 347 | "*Function to decode a Rmail summary line. | 346 | "Function to decode a Rmail summary line. |
| 348 | It receives the summary line for one message as a string | 347 | It receives the summary line for one message as a string |
| 349 | and should return the decoded string. | 348 | and should return the decoded string. |
| 350 | 349 | ||
| @@ -439,9 +438,10 @@ LINES is the number of lines in the message (if we should display that) | |||
| 439 | (concat prefix basic-start linecount-string " " | 438 | (concat prefix basic-start linecount-string " " |
| 440 | labels basic-end)))) | 439 | labels basic-end)))) |
| 441 | 440 | ||
| 441 | ;; FIXME move to rmail.el? | ||
| 442 | ;;;###autoload | 442 | ;;;###autoload |
| 443 | (defcustom rmail-user-mail-address-regexp nil | 443 | (defcustom rmail-user-mail-address-regexp nil |
| 444 | "*Regexp matching user mail addresses. | 444 | "Regexp matching user mail addresses. |
| 445 | If non-nil, this variable is used to identify the correspondent | 445 | If non-nil, this variable is used to identify the correspondent |
| 446 | when receiving new mail. If it matches the address of the sender, | 446 | when receiving new mail. If it matches the address of the sender, |
| 447 | the recipient is taken as correspondent of a mail. | 447 | the recipient is taken as correspondent of a mail. |