X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/290d7ac277986bd118e594a8100b3f40e4492cb1..259a0b6d3bc6ffe0d5d24368e415fa46f439a844:/lisp/gnus/mml.el diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el index 726faeed6a..fccdf52130 100644 --- a/lisp/gnus/mml.el +++ b/lisp/gnus/mml.el @@ -257,7 +257,9 @@ part. This is for the internal use, you should never modify the value.") ((string= mode "encrypt") (setq tags (list "encrypt" method))) ((string= mode "signencrypt") - (setq tags (list "sign" method "encrypt" method)))) + (setq tags (list "sign" method "encrypt" method))) + (t + (error "Unknown secure mode %s" mode))) (eval `(mml-insert-tag ,secure-mode ,@tags ,(if keyfile "keyfile")