Function: rmail-summary-recipient-strip-quoted-names

rmail-summary-recipient-strip-quoted-names is a byte-compiled function defined in rmailsum.el.gz.

Signature

(rmail-summary-recipient-strip-quoted-names RECIPIENT)

Documentation

Strip quoted names from the first line of RECIPIENT field.

Applies mail-strip-quoted-names to the first physical line of the header field value.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmailsum.el.gz
(defun rmail-summary-recipient-strip-quoted-names (recipient)
  "Strip quoted names from the first line of RECIPIENT field.
Applies `mail-strip-quoted-names' to the first physical line of the
header field value."
  (when (string-match "\n" recipient)
    (setq recipient (substring recipient 0 (match-beginning 0))))
  (setq recipient (string-trim-right recipient "[ \t]+"))
  (mail-strip-quoted-names recipient))