]> code.delx.au - gnu-emacs/commitdiff
declare `rmail-mime-entity-truncated' and `rmail-mime-render-html-function'
authorSam Steingold <sds@gnu.org>
Wed, 9 Mar 2016 13:53:49 +0000 (08:53 -0500)
committerSam Steingold <sds@gnu.org>
Wed, 9 Mar 2016 13:53:49 +0000 (08:53 -0500)
The former avoids a compiler warning, the latter fixes a bug whereas
the variable is compiled as lexical instead of dynamic.

lisp/mail/rmail.el

index 2790c890975c37a4f8a633520be2ca011dd4f815..68b3cfdf501bb3fe6485c405da844f40fc8d19f1 100644 (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)