1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

Don't clobber epa-mail-aliases

* lisp/epa-mail.el (epa-mail-default-recipients):
Copy elements of epa-mail-aliases; don't clobber them.
This commit is contained in:
Richard Stallman 2019-02-24 08:45:41 -08:00 committed by Paul Eggert
parent 982e8f7b21
commit 5a51347027

View File

@ -150,7 +150,7 @@ If no one is selected, default secret key is used. "
(mapcar
(lambda (recipient)
(let ((tem (assoc recipient epa-mail-aliases)))
(if tem (cdr tem)
(if tem (copy-sequence (cdr tem))
(list recipient))))
real-recipients)))
)))