diff options
| author | Glenn Morris | 2010-11-10 20:10:38 -0800 |
|---|---|---|
| committer | Glenn Morris | 2010-11-10 20:10:38 -0800 |
| commit | 2af05d6ecdfb31963ac803f11d02a1d77c6645cf (patch) | |
| tree | bc69908c3c8f32ed6489bd2412f7c20c120e00f8 | |
| parent | 717eae72576457a3c59e0bd258c97c130a04529c (diff) | |
| download | emacs-2af05d6ecdfb31963ac803f11d02a1d77c6645cf.tar.gz emacs-2af05d6ecdfb31963ac803f11d02a1d77c6645cf.zip | |
mailheader.el comments.
| -rw-r--r-- | lisp/mail/mailheader.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/mail/mailheader.el b/lisp/mail/mailheader.el index 960d3c65487..939e499a024 100644 --- a/lisp/mail/mailheader.el +++ b/lisp/mail/mailheader.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; mailheader.el --- mail header parsing, merging, formatting | 1 | ;;; mailheader.el --- mail header parsing, merging, formatting |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, | 3 | ;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | ;; 2009, 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Erik Naggum <erik@naggum.no> | 6 | ;; Author: Erik Naggum <erik@naggum.no> |
| 7 | ;; Keywords: tools, mail, news | 7 | ;; Keywords: tools, mail, news |
| @@ -49,9 +49,6 @@ | |||
| 49 | (eval-when-compile | 49 | (eval-when-compile |
| 50 | (require 'cl)) | 50 | (require 'cl)) |
| 51 | 51 | ||
| 52 | ;; Make the byte-compiler shut up. | ||
| 53 | (defvar headers) | ||
| 54 | |||
| 55 | (defun mail-header-extract () | 52 | (defun mail-header-extract () |
| 56 | "Extract headers from current buffer after point. | 53 | "Extract headers from current buffer after point. |
| 57 | Returns a header alist, where each element is a cons cell (name . value), | 54 | Returns a header alist, where each element is a cons cell (name . value), |
| @@ -105,6 +102,9 @@ value." | |||
| 105 | (cons (cdr header) (funcall (cdr rule) (cdr header)))))))) | 102 | (cons (cdr header) (funcall (cdr rule) (cdr header)))))))) |
| 106 | headers) | 103 | headers) |
| 107 | 104 | ||
| 105 | ;; Advertized part of the interface; see mail-header, mail-header-set. | ||
| 106 | (defvar headers) | ||
| 107 | |||
| 108 | (defsubst mail-header (header &optional header-alist) | 108 | (defsubst mail-header (header &optional header-alist) |
| 109 | "Return the value associated with header HEADER in HEADER-ALIST. | 109 | "Return the value associated with header HEADER in HEADER-ALIST. |
| 110 | If the value is a string, it is the original value of the header. If the | 110 | 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." | |||
| 191 | 191 | ||
| 192 | (provide 'mailheader) | 192 | (provide 'mailheader) |
| 193 | 193 | ||
| 194 | ;; arch-tag: 6e7aa221-80b5-4b3d-b46f-fd66ab567be0 | ||
| 195 | ;;; mailheader.el ends here | 194 | ;;; mailheader.el ends here |