Commit f72f1503 authored by Glenn Morris's avatar Glenn Morris

Add declare-function compatibility definition.

(message-goto-body): Declare as a function.
parent b5000590
......@@ -27,6 +27,10 @@
;;; Code:
;; For Emacs < 22.2.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile (require 'cl))
(require 'mm-util)
......@@ -90,6 +94,8 @@
(let (mm-extern-anonymous)
(mm-extern-anon-ftp handle)))
(declare-function message-goto-body "message" (&optional interactivep))
(defun mm-extern-mail-server (handle)
(require 'message)
(let* ((params (cdr (mm-handle-type handle)))
......
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