; Fix last change

* doc/misc/epa.texi (Cryptographic operations on regions): Fix
wording of the 'epa-keys-select-method's documentation.
* lisp/epa.el (epa-keys-select-method): Doc fix (bug#69133).
This commit is contained in:
Eli Zaretskii 2024-02-17 11:31:20 +02:00
parent 6477be93bd
commit d85461ac61
2 changed files with 8 additions and 5 deletions

View file

@ -289,11 +289,13 @@ also ask you whether or not to sign the text before encryption and if
you answered yes, it will let you select the signing keys.
@end deffn
You can change the default method that is used to select keys with the
variable @code{epa-file-select-keys}.
@defvar epa-keys-select-method
Method used to select keys in @code{epa-select-keys}.
This variable controls the method used for key selection in
@code{epa-select-keys}. The default value @code{buffer} pops up a
special buffer where you can select the keys. If the value is
@code{minibuffer}, @code{epa-select-keys} will instead prompt for the
keys in the minibuffer, where you should type the keys separated by
commas.
@end defvar
@node Cryptographic operations on files

View file

@ -77,7 +77,8 @@ The command `epa-mail-encrypt' uses this."
"Method used to select keys in `epa-select-keys'.
If the value is \\='buffer, the default, keys are selected via a
pop-up buffer. If the value is \\='minibuffer, keys are selected
via the minibuffer instead, using `completing-read-multiple'."
via the minibuffer instead, using `completing-read-multiple'.
Any other value is treated as \\='buffer."
:type '(choice (const :tag "Read keys from a pop-up buffer" buffer)
(const :tag "Read keys from minibuffer" minibuffer))
:group 'epa