unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Please install this for me.
@ 2019-02-24  4:45 Richard Stallman
  2019-02-24 16:12 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2019-02-24  4:45 UTC (permalink / raw)
  To: emacs-devel

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

Would someone please install this bug fix?

2019-02-23  Richard Stallman  <rms@gnu.org>

	* lisp/epa-mail.el (epa-mail-default-recipients): 
	Copy elements of epa-mail-aliases; don't clobber them.

diff --git a/lisp/epa-mail.el b/lisp/epa-mail.el
index 0085937..69e8d69 100644
--- a/lisp/epa-mail.el
+++ b/lisp/epa-mail.el
@@ -150,7 +150,7 @@ epa-mail-default-recipients
 		   (mapcar
 		    (lambda (recipient)
 		      (let ((tem (assoc recipient epa-mail-aliases)))
-			(if tem (cdr tem)
+			(if tem (append (cdr tem) nil)
 			  (list recipient))))
 		    real-recipients)))
       )))

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: Please install this for me.
  2019-02-24  4:45 Please install this for me Richard Stallman
@ 2019-02-24 16:12 ` Stefan Monnier
  2019-02-24 16:47   ` Paul Eggert
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2019-02-24 16:12 UTC (permalink / raw)
  To: emacs-devel

> -			(if tem (cdr tem)
> +			(if tem (append (cdr tem) nil)

I think `copy-sequence` be preferable because more explicit.


        Stefan




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Please install this for me.
  2019-02-24 16:12 ` Stefan Monnier
@ 2019-02-24 16:47   ` Paul Eggert
  2019-02-25  3:07     ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggert @ 2019-02-24 16:47 UTC (permalink / raw)
  To: Stefan Monnier, emacs-devel; +Cc: Richard Stallman

Stefan Monnier wrote:
> I think `copy-sequence` be preferable because more explicit.

I installed the patch, with that change.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Please install this for me.
  2019-02-24 16:47   ` Paul Eggert
@ 2019-02-25  3:07     ` Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2019-02-25  3:07 UTC (permalink / raw)
  To: Paul Eggert; +Cc: monnier, emacs-devel

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > I think `copy-sequence` be preferable because more explicit.

  > I installed the patch, with that change.

Thanks.

When these two patches have been installed, I will fetch the latest master
and try it out.

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-25  3:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-24  4:45 Please install this for me Richard Stallman
2019-02-24 16:12 ` Stefan Monnier
2019-02-24 16:47   ` Paul Eggert
2019-02-25  3:07     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).