X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-crypto.el;h=73ebf51df0b825d38e88506ecb34c19b5edfa50b;hb=fd6f65f241854cd55e7e4d7c9cb9a71bd9f70cb4;hp=52338249a82867a4e0fea4fb7788264fc9b15bd4;hpb=3901bbca2eb3f24dd8ffa628a2c057ec1a28a1d0;p=notmuch diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el index 52338249..73ebf51d 100644 --- a/emacs/notmuch-crypto.el +++ b/emacs/notmuch-crypto.el @@ -110,8 +110,8 @@ mode." (setq label (concat "Bad signature (claimed key ID " keyid ")")) (setq face 'notmuch-crypto-signature-bad))) (t - (setq label "Unknown signature status") - (if status (setq label (concat label " \"" status "\""))))) + (setq label (concat "Unknown signature status" + (if status (concat ": " status)))))) (insert-button (concat "[ " label " ]") :type 'notmuch-crypto-status-button-type @@ -161,7 +161,8 @@ mode." ((string= status "bad") (setq label "Decryption error")) (t - (setq label (concat "Unknown encstatus \"" status "\"")))) + (setq label (concat "Unknown encryption status" + (if status (concat ": " status)))))) (insert-button (concat "[ " label " ]") :type 'notmuch-crypto-status-button-type