Mercurial > hg > xemacs-beta
annotate src/console-stream-impl.h @ 5615:5f4f92a31875
Move the functionality of #'cl-macroexpand into Fmacroexpand, eval.c
src/ChangeLog addition:
2011-12-22 Aidan Kehoe <kehoea@parhasard.net>
* eval.c (Fmacroexpand): Rename Fmacroexpand_internal, add the
functionality that used to be in #'cl-macroexpand--it makes no
sense for us, and needlessly slows things down, to have two
separate functions.
* eval.c:
* eval.c (syms_of_eval):
Move byte-compile-macro-environment here, now it's used by
#'macroexpand.
lisp/ChangeLog addition:
2011-12-22 Aidan Kehoe <kehoea@parhasard.net>
* bytecomp-runtime.el:
* bytecomp-runtime.el (byte-compile-macro-environment): Moved to
eval.c.
* cl.el:
* cl.el ('cl-macroexpand): New alias.
* cl.el ('macroexpand-internal): New alias.
* cl.el (cl-macroexpand): Move the functionality of this to
#'macroexpand (formerly #'macroexpand-internal) in eval.c; since
CL is always loaded in XEmacs, it brings nothing and slows things
down to have the two functions separate.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Thu, 22 Dec 2011 12:51:03 +0000 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
872 | 1 /* Define stream specific console, device, and frame object for XEmacs. |
2 Copyright (C) 1995 Board of Trustees, University of Illinois. | |
3 Copyright (C) 1995 Free Software Foundation, Inc. | |
1204 | 4 Copyright (C) 2002 Ben Wing. |
872 | 5 |
6 This file is part of XEmacs. | |
7 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5127
diff
changeset
|
8 XEmacs is free software: you can redistribute it and/or modify it |
872 | 9 under the terms of the GNU General Public License as published by the |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5127
diff
changeset
|
10 Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5127
diff
changeset
|
11 option) any later version. |
872 | 12 |
13 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5127
diff
changeset
|
19 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
872 | 20 |
21 /* Synched up with: Not in FSF. */ | |
22 | |
23 /* Written by Ben Wing. */ | |
24 | |
25 #ifndef INCLUDED_console_stream_impl_h_ | |
26 #define INCLUDED_console_stream_impl_h_ | |
27 | |
28 #include "console-impl.h" | |
29 #include "console-stream.h" | |
30 | |
31 DECLARE_CONSOLE_TYPE (stream); | |
32 | |
33 struct stream_console | |
34 { | |
3092 | 35 #ifdef NEW_GC |
5127
a9c41067dd88
more cleanups, terminology clarification, lots of doc work
Ben Wing <ben@xemacs.org>
parents:
5120
diff
changeset
|
36 NORMAL_LISP_OBJECT_HEADER header; |
3092 | 37 #endif /* NEW_GC */ |
872 | 38 FILE *in; |
39 FILE *out; | |
40 FILE *err; | |
41 int needs_newline; | |
1204 | 42 Lisp_Object instream; |
872 | 43 }; |
44 | |
3092 | 45 #ifdef NEW_GC |
46 typedef struct stream_console Lisp_Stream_Console; | |
47 | |
5118
e0db3c197671
merge up to latest default branch, doesn't compile yet
Ben Wing <ben@xemacs.org>
parents:
3092
diff
changeset
|
48 DECLARE_LISP_OBJECT (stream_console, Lisp_Stream_Console); |
3092 | 49 |
50 #define XSTREAM_CONSOLE(x) \ | |
51 XRECORD (x, stream_console, Lisp_Stream_Console) | |
52 #define wrap_stream_console(p) wrap_record (p, stream_console) | |
53 #define STREAM_CONSOLE_P(x) RECORDP (x, stream_console) | |
54 #endif /* NEW_GC */ | |
55 | |
872 | 56 #define CONSOLE_STREAM_DATA(con) CONSOLE_TYPE_DATA (con, stream) |
57 | |
58 #endif /* INCLUDED_console_stream_impl_h_ */ |