Function: lm-authors

lm-authors is a byte-compiled function defined in lisp-mnt.el.gz.

Signature

(lm-authors &optional FILE)

Documentation

Return the author list of file FILE, or current buffer if FILE is nil.

Each element of the list is a cons; the car is the full name, the cdr is an email address.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/lisp-mnt.el.gz
(defun lm-authors (&optional file)
  "Return the author list of file FILE, or current buffer if FILE is nil.
Each element of the list is a cons; the car is the full name,
the cdr is an email address."
  (lm-with-file file
    (let ((authorlist (lm-header-multiline "author")))
      (mapcan #'lm-crack-address authorlist))))