[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: omit m4_quote from m4_foreach

From: Stepan Kasal
Subject: FYI: omit m4_quote from m4_foreach
Date: Tue, 17 May 2005 12:05:22 +0200
User-agent: Mutt/1.4.1i

  I've commited to following one-line patch.

2005-05-17  Stepan Kasal  <address@hidden>

        * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
          argument to m4_foreach.  I guess it was necessary in the past,
          but I think it's a no-op now.

Index: lib/m4sugar/m4sugar.m4
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sugar.m4,v
retrieving revision 2.87
diff -u -r2.87 m4sugar.m4
--- lib/m4sugar/m4sugar.m4      14 May 2005 07:00:40 -0000      2.87
+++ lib/m4sugar/m4sugar.m4      17 May 2005 09:30:43 -0000
@@ -1555,7 +1555,7 @@
 m4_if(m4_eval(m4_Cursor > m4_len(m4_Prefix)),
       1, [m4_define([m4_Cursor], m4_len(m4_Prefix))
-m4_foreach([m4_Word], m4_quote(m4_split(m4_normalize([$1]))),
+m4_foreach([m4_Word], m4_split(m4_normalize([$1])),
 [m4_define([m4_Cursor], m4_eval(m4_Cursor + m4_len(m4_defn([m4_Word])) + 1))dnl
 dnl New line if too long, else insert a space unless it is the first
 dnl of the words.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]