Mercurial > hg > xemacs-beta
annotate src/m/ibm370aix.h @ 4394:cacc942c0d0f
Avoid clearing print-gensym-alist inappropriately when printing hash tables.
2008-01-15 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el (thing):
Check that printing a hash table literal doesn't clear
print-gensym-alist.
2008-01-15 Aidan Kehoe <kehoea@parhasard.net>
* print.c (prin1_to_string): New.
The guts of Fprin1_to_string, without resetting
Vprint_gensym_alist.
(Fprin1_to_string):
Call prin1_to_string, wrapped with RESET_PRINT_GENSYM calls.
* doprnt.c (emacs_doprnt_1):
Call prin1_to_string, not Fprin1_to_string (dos veces). Avoids an
inappropriate reset of print-gensym-alist.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 15 Jan 2008 21:35:01 +0100 |
parents | 3ecd8885ac67 |
children |
rev | line source |
---|---|
428 | 1 /* Synched up with: FSF 19.31. */ |
2 | |
3 /* m/ file for IBM 370 running AIX. */ | |
4 | |
5 #include "ibmps2-aix.h" | |
6 | |
7 #define AIX | |
8 | |
9 /* these were defined in "ibmps2-aix.h" */ | |
10 #undef INTEL386 | |
11 #undef aix386 | |
12 | |
13 #undef TEXT_START | |
14 #undef SEGMENT_MASK | |
15 #undef DATA_SECTION_ALIGNMENT | |
16 | |
17 #define TEXT_START 0 | |
18 #define SEGMENT_MASK 0 | |
19 #define DATA_SECTION_ALIGNMENT 0x00001000 | |
20 | |
21 #undef LOAD_AVE_CVT | |
22 #undef LOAD_AVE_TYPE | |
23 /* Data type of load average, as read out of kmem. */ | |
24 #define LOAD_AVE_CVT(x) (int)(((double) (x)) * 100.0 / 1.0) | |
25 #define LOAD_AVE_TYPE double | |
26 | |
27 #undef LIBS_MACHINE | |
28 #define LIBS_MACHINE | |
29 | |
30 #undef LD_SWITCH_MACHINE | |
31 #define LD_SWITCH_MACHINE "-xa" |