From: Sam Steingold Date: Wed, 9 Mar 2016 13:53:49 +0000 (-0500) Subject: declare `rmail-mime-entity-truncated' and `rmail-mime-render-html-function' X-Git-Tag: emacs-26.0.90~2356^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7801999f79519326e1073be878f7ada50a492542;p=emacs.git 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. --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 2790c890975..68b3cfdf501 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -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)