annotate lib-src/gnuattach @ 4716:dca5bb2adff1

Don't cons with #'mapcar calls where the result is discarded, decide on mapc-internal at compile time if the Common Lisp functionality is not being used. 2009-10-12 Aidan Kehoe <kehoea@parhasard.net> * cl-macs.el (mapc): New compiler macro, use mapc-internal at compile time if we're not using the Common Lisp functionality. * bytecomp.el (byte-compile-mapcar, byte-compile-maplist): New. If the return value of mapcar is being discarded, compile it to a mapc-internal call instead, and warn, because the programmer probably can't rely on always being compiled by an XEmacs that does this. Similarly for maplist and mapl; and use byte-compile-funarg for map, mapl, mapcan, mapcon.
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 12 Oct 2009 17:19:52 +0100
parents 0132846995bd
children 061f4f90f874
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1 #! /bin/sh
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
3 # This file is part of XEmacs.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
4
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
5 # Copyright (C) 1997 Free Software Foundation, Inc.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
6
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
7 # XEmacs is free software; you can redistribute it and/or modify it
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
8 # under the terms of the GNU General Public License as published by the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
9 # Free Software Foundation; either version 2, or (at your option) any
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
10 # later version.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
11
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
12 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
15 # for more details.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
18 # along with XEmacs; see the file COPYING. If not, write to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
19 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
20 # Boston, MA 02111-1307, USA.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
21
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
22 echo "$0: Please use \`gnuclient -nw' instead." >&2
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
23 exit 1