declare rmail-mime-entity-truncated' and rmail-mime-render-html-function'

The former avoids a compiler warning, the latter fixes a bug whereas
the variable is compiled as lexical instead of dynamic.
This commit is contained in:
Sam Steingold 2016-03-09 08:53:49 -05:00
parent e0400b72a2
commit 7801999f79

View file

@ -241,6 +241,7 @@ please report it with \\[report-emacs-bug].")
(declare-function mail-dont-reply-to "mail-utils" (destinations))
(declare-function rmail-update-summary "rmailsum" (&rest ignore))
(declare-function rmail-mime-toggle-hidden "rmailmm" ())
(declare-function rmail-mime-entity-truncated "rmailmm" (entity))
(defun rmail-probe (prog)
"Determine what flavor of movemail PROG is.
@ -4583,6 +4584,7 @@ Argument MIME is non-nil if this is a mime message."
;; There doesn't really seem to be an appropriate menu.
;; Eg the edit command is not in a menu either.
(defvar rmail-mime-render-html-function) ; defcustom in rmailmm
(defun rmail-epa-decrypt ()
"Decrypt GnuPG or OpenPGP armors in current message."
(interactive)