changeset 104971:32f634736979

(Fwhere_is_internal): Use nconc2.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 12 Sep 2009 01:21:30 +0000
parents fb38af38e1ff
children 522f4ac8f10a
files src/ChangeLog src/keymap.c
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Sep 12 00:47:13 2009 +0000
+++ b/src/ChangeLog	Sat Sep 12 01:21:30 2009 +0000
@@ -1,3 +1,7 @@
+2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* keymap.c (Fwhere_is_internal): Use nconc2.
+
 2009-09-11  Alan Mackenzie  <acm@muc.de>
 
 	* dispnew.c (Fsend_string_to_terminal): Amend doc string to cover
--- a/src/keymap.c	Sat Sep 12 00:47:13 2009 +0000
+++ b/src/keymap.c	Sat Sep 12 01:21:30 2009 +0000
@@ -2901,10 +2901,7 @@
 	{
 	  Lisp_Object seqs = where_is_internal (function, keymaps,
 						!NILP (noindirect), nomenus);
-	  Lisp_Object args[2];
-	  args[0] = Freverse (seqs);
-	  args[1] = remapped_sequences;
-	  remapped_sequences = Fnconc (2, args);
+	  remapped_sequences = nconc2 (Freverse (seqs), remapped_sequences);
 	  continue;
 	}