mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
mailheader.el comments.
This commit is contained in:
parent
717eae7257
commit
2af05d6ecd
1 changed files with 5 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
;;; mailheader.el --- mail header parsing, merging, formatting
|
||||
|
||||
;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005,
|
||||
;; 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
|
||||
;; 2009, 2010 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Erik Naggum <erik@naggum.no>
|
||||
;; Keywords: tools, mail, news
|
||||
|
|
@ -49,9 +49,6 @@
|
|||
(eval-when-compile
|
||||
(require 'cl))
|
||||
|
||||
;; Make the byte-compiler shut up.
|
||||
(defvar headers)
|
||||
|
||||
(defun mail-header-extract ()
|
||||
"Extract headers from current buffer after point.
|
||||
Returns a header alist, where each element is a cons cell (name . value),
|
||||
|
|
@ -105,6 +102,9 @@ value."
|
|||
(cons (cdr header) (funcall (cdr rule) (cdr header))))))))
|
||||
headers)
|
||||
|
||||
;; Advertized part of the interface; see mail-header, mail-header-set.
|
||||
(defvar headers)
|
||||
|
||||
(defsubst mail-header (header &optional header-alist)
|
||||
"Return the value associated with header HEADER in HEADER-ALIST.
|
||||
If the value is a string, it is the original value of the header. If the
|
||||
|
|
@ -191,5 +191,4 @@ A key of nil has as its value a list of defaulted headers to ignore."
|
|||
|
||||
(provide 'mailheader)
|
||||
|
||||
;; arch-tag: 6e7aa221-80b5-4b3d-b46f-fd66ab567be0
|
||||
;;; mailheader.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue