Mercurial > emacs
annotate src/m/alliant4.h @ 31178:ade2aeaf252e
(QCinherit):
New variable.
(syms_of_xfaces):
Initialize it.
(LFACE_INHERIT):
New macro.
(Finternal_get_lisp_face_attribute, merge_face_vector_with_property)
(Finternal_set_lisp_face_attribute):
Deal with :inherit attribute.
(check_lface_attrs):
Allow new types of face height. Check inherit attribute.
(CYCLE_CHECK):
New macro.
(merge_face_inheritance):
New function.
(merge_face_vectors):
Merge inherited faces too. Add F and CYCLE_CHECK arguments.
(merge_face_vector_with_property, Finternal_merge_in_global_face)
(lookup_named_face, lookup_derived_face, realize_named_face)
(face_at_string_position, face_at_buffer_position):
Supply new F and CYCLE_CHECK arguments to merge_face_vectors.
(merge_face_heights):
New function.
(merge_face_vectors, merge_face_vector_with_property)
(Finternal_set_lisp_face_attribute):
Call merge_face_heights to handle relative face heights.
(lface_same_font_attributes_p):
Compare heights using EQ.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sat, 26 Aug 2000 05:36:17 +0000 |
parents | e442bb589751 |
children | 23a1cea22d13 |
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 | |
4 /* The following line tells the configuration script what sort of | |
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. */ |