From f8794eaa3bb1cf94421d2b2f3d9da2aed7a59f15 Mon Sep 17 00:00:00 2001 From: ueno Date: Wed, 26 Apr 2006 07:37:49 +0000 Subject: [PATCH] Don't display error messasge unless riece-debug. --- lisp/riece-epg.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/riece-epg.el b/lisp/riece-epg.el index 0ac63a9..55d2083 100644 --- a/lisp/riece-epg.el +++ b/lisp/riece-epg.el @@ -172,7 +172,8 @@ 0 (length (riece-message-text message)) 'riece-epg-encryption-target (riece-message-target message) (riece-message-text message)) - (message "%s" (cdr error))))))) + (if riece-debug + (message "Couldn't decrypt: %s" (cdr error)))))))) message) (defun riece-epg-add-encrypted-button (start end) -- 1.7.10.4