From: ueno Date: Wed, 26 Apr 2006 07:37:49 +0000 (+0000) Subject: Don't display error messasge unless riece-debug. X-Git-Tag: riece-3_0_0~11 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8794eaa3bb1cf94421d2b2f3d9da2aed7a59f15;p=elisp%2Friece.git Don't display error messasge unless riece-debug. --- 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)