Commit 498fc2ae authored by Glenn Morris's avatar Glenn Morris

Add declare-function compatibility definition.

(message-options-get): Autoload.
(message-options-set): Declare as a function.
parent 60ef4154
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
;;; Code: ;;; Code:
;; For Emacs < 22.2.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(require 'mm-util) (require 'mm-util)
(require 'rfc2047) (require 'rfc2047)
(require 'mm-encode) (require 'mm-encode)
...@@ -67,6 +71,9 @@ Valid encodings are `7bit', `8bit', `quoted-printable' and `base64'." ...@@ -67,6 +71,9 @@ Valid encodings are `7bit', `8bit', `quoted-printable' and `base64'."
(const base64)))) (const base64))))
:group 'mime) :group 'mime)
(autoload 'message-options-get "message")
(declare-function message-options-set "message" (symbol value))
(defun mm-encode-body (&optional charset) (defun mm-encode-body (&optional charset)
"Encode a body. "Encode a body.
Should be called narrowed to the body that is to be encoded. Should be called narrowed to the body that is to be encoded.
......
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