aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/rmailsum.el18
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.
348It receives the summary line for one message as a string 347It receives the summary line for one message as a string
349and should return the decoded string. 348and 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.
445If non-nil, this variable is used to identify the correspondent 445If non-nil, this variable is used to identify the correspondent
446when receiving new mail. If it matches the address of the sender, 446when receiving new mail. If it matches the address of the sender,
447the recipient is taken as correspondent of a mail. 447the recipient is taken as correspondent of a mail.