From: Katsumi Yamaoka Date: Mon, 31 Aug 2015 23:42:45 +0000 (+0000) Subject: tls.el (tls-format-message): Eval-and-compile X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=f581141fa52068b947cc125d5e76b0e24911ea4f tls.el (tls-format-message): Eval-and-compile --- diff --git a/lisp/tls.el b/lisp/tls.el index a068675ba..46891be38 100644 --- a/lisp/tls.el +++ b/lisp/tls.el @@ -174,10 +174,11 @@ Used by `tls-certificate-information'." :type 'string :group 'tls) -(if (fboundp 'format-message) - (defalias 'tls-format-message 'format-message) - ;; for Emacs < 25, and XEmacs, don't worry about quote translation. - (defalias 'tls-format-message 'format)) +(eval-and-compile + (if (fboundp 'format-message) + (defalias 'tls-format-message 'format-message) + ;; for Emacs < 25, and XEmacs, don't worry about quote translation. + (defalias 'tls-format-message 'format))) (defun tls-certificate-information (der) "Parse X.509 certificate in DER format into an assoc list."