Commit 444f6b28 authored by Glenn Morris's avatar Glenn Morris

Add declare-function compatibility definition.

(mail-header-parse-content-type, message-narrow-to-head): Autoload.
(message-fetch-field): Declare as a function.
parent 48fd2675
......@@ -34,6 +34,10 @@
;;; Code:
;; For Emacs < 22.2.
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile (require 'cl))
(require 'mm-util)
......@@ -139,6 +143,10 @@"
(aset s (incf i) (+ v (if (< v 63) 64 98))))))
(autoload 'mail-header-parse-content-type "mail-parse")
(autoload 'message-narrow-to-head "message")
(declare-function message-fetch-field "message" (header &optional not-all))
(defun rfc1843-decode-article-body ()
"Decode HZ encoded text in the article body."
(if (string-match (concat "\\<\\(" rfc1843-newsgroups-regexp "\\)\\>")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment