Function: mail-header-extract-no-properties

mail-header-extract-no-properties is a byte-compiled function defined in mailheader.el.gz.

Signature

(mail-header-extract-no-properties)

Documentation

Extract headers from current buffer after point, without properties.

Returns a header alist, where each element is a cons cell (name . value), where NAME is a symbol, and VALUE is the string value of the header having that name.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/mailheader.el.gz
(defun mail-header-extract-no-properties ()
  "Extract headers from current buffer after point, without properties.
Returns a header alist, where each element is a cons cell (name . value),
where NAME is a symbol, and VALUE is the string value of the header having
that name."
  (mapcar
   (lambda (elt)
     (set-text-properties 0 (length (cdr elt)) nil (cdr elt))
     elt)
   (mail-header-extract)))