Mercurial > emacs
changeset 87244:dac02fccd9a7
Add declare-function compatibility definition.
(message-options-get): Autoload.
(message-options-set): Declare as a function.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 11 Dec 2007 05:41:53 +0000 |
parents | 23ea76295829 |
children | 6207f5a83057 |
files | lisp/gnus/mm-bodies.el |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus/mm-bodies.el Tue Dec 11 05:41:13 2007 +0000 +++ b/lisp/gnus/mm-bodies.el Tue Dec 11 05:41:53 2007 +0000 @@ -26,6 +26,10 @@ ;;; Code: +;; For Emacs < 22.2. +(eval-and-compile + (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) + (require 'mm-util) (require 'rfc2047) (require 'mm-encode) @@ -67,6 +71,9 @@ (const base64)))) :group 'mime) +(autoload 'message-options-get "message") +(declare-function message-options-set "message" (symbol value)) + (defun mm-encode-body (&optional charset) "Encode a body. Should be called narrowed to the body that is to be encoded.