Mercurial > emacs
annotate src/m/alliant4.h @ 51263:d115afc922ec
Update copyright.
(timeclock-ask-before-exiting): Put `timeclock-query-out' on
`kill-emacs-query-functions' rather than `kill-emacs-hook'.
(timeclock-mode-string): Doc fix.
(timeclock-modeline-display): Doc fix. Use `global-mode-string' rather
than `mode-line-format'.
(timeclock-query-out): Doc fix.
(timeclock-update-modeline): No need for `let*', so use `let'.
Add some help-echo text to `timeclock-mode-string'.
(timeclock-mode-string): Give it the risky-local-variable property,
so that help-echo text will display.
(timeclock-find-discrep): Set `accum' to 0 if `timeclock-discrepancy' is nil.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 27 May 2003 18:36:40 +0000 |
parents | 23a1cea22d13 |
children | 695cf19ef79e |
rev | line source |
---|---|
457 | 1 /* machine description file for Alliant Concentrix 4.0 or later. |
2 Use alliant.h for versions 2 and 3. */ | |
3 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
457
diff
changeset
|
4 /* The following line tells the configuration script what sort of |
457 | 5 operating system this machine is likely to run. |
6 USUAL-OPSYS="bsd4-2" */ | |
7 | |
8 #include "alliant.h" | |
9 | |
10 /* Concentrix uses a different kernel symbol for load average. */ | |
11 | |
12 #undef LDAV_SYMBOL /* Undo definition in s-bsd4-2.h */ | |
13 #define LDAV_SYMBOL "_Loadavg" | |
14 | |
15 /* Data type of load average, as read out of kmem. */ | |
16 | |
17 #define LOAD_AVE_TYPE long | |
18 | |
19 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
20 | |
21 #define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE) | |
22 | |
23 /* include <sys/param.h> for the definition of LOADAVG_SCALE, and also | |
24 LOADAVG_SIZE, the number of items in the Loadavg array. */ |