mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(rmail-make-basic-summary-line): Get all the lines of the From field.
This commit is contained in:
parent
080ac1ac22
commit
4f5d303b20
1 changed files with 11 additions and 4 deletions
|
|
@ -308,10 +308,17 @@ nil for FUNCTION means all messages."
|
|||
(let* ((from (mail-strip-quoted-names
|
||||
(buffer-substring
|
||||
(1- (point))
|
||||
(progn (end-of-line)
|
||||
(skip-chars-backward " \t")
|
||||
(point)))))
|
||||
len mch lo)
|
||||
;; Get all the lines of the From field
|
||||
;; so that we get a whole comment if there is one,
|
||||
;; so that mail-strip-quoted-names can discard it.
|
||||
(let ((opoint (point)))
|
||||
(while (progn (forward-line 1)
|
||||
(looking-at "[ \t]")))
|
||||
;; Back up over newline, then trailing spaces or tabs
|
||||
(forward-char -1)
|
||||
(skip-chars-backward " \t")
|
||||
(point)))))
|
||||
len mch lo)
|
||||
(if (string-match (concat "^"
|
||||
(regexp-quote (user-login-name))
|
||||
"\\($\\|@\\)")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue