Mercurial > hg > xemacs-beta
annotate src/m/alliant4.h @ 4694:2ac296807b88
Don't needlessly intern symbols, #'function-arglist, #'cl-function-arglist
2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
* help.el (function-arglist):
Show the double-quotes in the sample output, correctly.
Bind print-gensym to nil, now we're using uninterned symbols.
Don't #'mapcar + #'intern to create uppercase symbols, use #'loop
and #'make-symbol instead.
* cl-macs.el (cl-upcase-arg):
Don't intern the upcased symbols we're using for cosmetic reasons.
Trust #'true-list-p in #'cl-function-arglist to detect
circularity.
(cl-function-arglist): Bind print-gensym to nil, now we're
printing uninterned symbols and would prefer to avoid the gensym
syntax.
(cl-transform-lambda): Only add the Common Lisp lambda list:
argument information when that differs frmo the normal argument
information.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 20 Sep 2009 21:41:22 +0100 |
parents | 376386a54a3c |
children |
rev | line source |
---|---|
0 | 1 /* Synched up with: FSF 19.31. */ |
2 | |
3 /* machine description file for Alliant Concentrix 4.0 or later. | |
4 Use alliant.h for versions 2 and 3. */ | |
5 | |
6 /* The following line tells the configuration script what sort of | |
7 operating system this machine is likely to run. | |
8 USUAL-OPSYS="bsd4-2" */ | |
9 | |
10 #include "alliant.h" | |
11 | |
12 /* Concentrix uses a different kernel symbol for load average. */ | |
13 | |
14 #undef LDAV_SYMBOL /* Undo definition in s-bsd4-2.h */ | |
15 #define LDAV_SYMBOL "_Loadavg" | |
16 | |
17 /* Data type of load average, as read out of kmem. */ | |
18 | |
19 #define LOAD_AVE_TYPE long | |
20 | |
21 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
22 | |
23 #define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE) | |
24 | |
25 /* include <sys/param.h> for the definition of LOADAVG_SCALE, and also | |
26 LOADAVG_SIZE, the number of items in the Loadavg array. */ |