From 7335e376376cc04d61ee7646de5163dd7efb6a4e Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Tue, 30 Sep 2008 23:11:17 +0000 Subject: [PATCH] (mml-menu): Don't assume mml2015 is bound. --- lisp/gnus/mml.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el index e3ab803dd5e..f8968fbcb7c 100644 --- a/lisp/gnus/mml.el +++ b/lisp/gnus/mml.el @@ -1102,13 +1102,13 @@ If HANDLES is non-nil, use it instead reparsing the buffer." ["PGG manual" (lambda () (interactive) (message-info mml2015-use)) ;; XEmacs barfs on :visible. ,@(if (featurep 'xemacs) nil - '(:visible (equal mml2015-use 'pgg))) + '(:visible (and (boundp 'mml2015-use) (equal mml2015-use 'pgg)))) ,@(if (featurep 'xemacs) '(t) '(:help "Display the PGG manual"))] - ["EasyPG manual" (lambda () (interactive) (message-info mml2015-use)) + ["EasyPG manual" (lambda () (interactive) (require 'mml2015) (message-info mml2015-use)) ;; XEmacs barfs on :visible. ,@(if (featurep 'xemacs) nil - '(:visible (equal mml2015-use 'epg))) + '(:visible (and (boundp 'mml2015-use) (equal mml2015-use 'epg)))) ,@(if (featurep 'xemacs) '(t) '(:help "Display the EasyPG manual"))])) -- 2.39.5