Mercurial > emacs
annotate src/m/celerity.h @ 69316:57e535bee31c
Update Commentary header.
(tree-widget-theme-name): Ignore parent themes.
(tree-widget-set-parent-theme): New function.
(tree-widget-set-theme): Use it.
(tree-widget-set-image-properties): Move definition. Does nothing
if image properties have already been set.
(tree-widget-image-properties): Move definition. Receive an image
name. Set the :pointer property.
(tree-widget-lookup-image): Doc fix. Search in parent themes.
Don't set the :pointer image property.
(tree-widget-convert-widget): New function. Handle :dynargs
compatibility here.
(tree-widget): Use it to :convert-widget. Add the :expander-p
predicate to control when the :expander function is entered.
Thanks to Ken Manheimer <ken.manheimer@gmail.com> for the idea.
(tree-widget-value-create): Handle :expander-p. widget-apply
:expander.
(tree-widget-expander-p): New function. Default value of the
:expander-p property.
author | David Ponce <david@dponce.com> |
---|---|
date | Tue, 07 Mar 2006 06:41:45 +0000 |
parents | 3bd95f4f2941 |
children | e90d04cd455a c5406394f567 |
rev | line source |
---|---|
456 | 1 /* machine description file for Celerity. |
64767
11814686b09f
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64083
diff
changeset
|
2 Copyright (C) 1985, 1986, 2002, 2003, 2004, |
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
3 2005, 2006 Free Software Foundation, Inc. |
456 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
7 GNU Emacs is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
3699 | 9 the Free Software Foundation; either version 2, or (at your option) |
456 | 10 any later version. |
11 | |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GNU Emacs; see the file COPYING. If not, write to | |
64083 | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 Boston, MA 02110-1301, USA. */ | |
456 | 21 |
22 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44601
diff
changeset
|
23 /* The following line tells the configuration script what sort of |
456 | 24 operating system this machine is likely to run. |
25 USUAL-OPSYS="bsd4-2" */ | |
26 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
27 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
28 is the most significant byte. */ |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
29 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
30 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
31 |
456 | 32 /* XINT must explicitly sign extend */ |
33 | |
34 #define EXPLICIT_SIGN_EXTEND | |
35 | |
36 /* celerity preprocessor defines "accel", however the following is clearer */ | |
37 #define celerity | |
38 | |
39 /* #define NO_UNION_TYPE would be preferable, | |
40 but it does not work, and the reason is not yet known. */ | |
41 | |
42 #define NO_UNION_TYPE | |
43 | |
44 /* Data type of load average, as read out of kmem. */ | |
45 | |
46 #define LOAD_AVE_TYPE double | |
47 | |
48 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
49 | |
50 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | |
51 | |
52 /* A machine-specific loader switch is needed. */ | |
53 | |
54 #define LD_SWITCH_MACHINE -k100000 | |
55 | |
56 /* (short) negative-int doesn't sign-extend correctly */ | |
57 #define SHORT_CAST_BUG | |
52401 | 58 |
59 /* arch-tag: b4df1828-fab6-48f8-97bc-b8998c200eea | |
60 (do not change this comment) */ |