summaryrefslogtreecommitdiff
path: root/lisp/epa-mail.el
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2020-07-20 14:47:43 +0200
committerRobert Pluim <rpluim@gmail.com>2020-07-20 14:47:43 +0200
commit2c0c613ec55051f7e7ecb2301a8d10a5a077590b (patch)
treea19918f0d82a7ba4fc664c078871fbe519032faf /lisp/epa-mail.el
parent551123e0b272c967b8cd042df39947c0f8ad4b40 (diff)
downloademacs-2c0c613ec55051f7e7ecb2301a8d10a5a077590b.tar.gz
Document prefix arg effects for 'epa-mail-{sign,encrypt}'
* doc/misc/epa.texi (Mail-mode integration): Describe effect of prefix arg to 'epa-mail-encrypt' and 'epa-mail-sign'. * lisp/epa-mail.el (epa-mail-sign): Describe effect of prefix arg.
Diffstat (limited to 'lisp/epa-mail.el')
-rw-r--r--lisp/epa-mail.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/epa-mail.el b/lisp/epa-mail.el
index 00f560af0b7..63475256ca8 100644
--- a/lisp/epa-mail.el
+++ b/lisp/epa-mail.el
@@ -85,7 +85,10 @@ The buffer is expected to contain a mail message."
;;;###autoload
(defun epa-mail-sign (start end signers mode)
"Sign the current buffer.
-The buffer is expected to contain a mail message."
+The buffer is expected to contain a mail message, and signing is
+performed with your default key.
+With prefix argument, asks you to select interactively the key to
+use from your key ring."
(declare (interactive-only t))
(interactive
(save-excursion