Mercurial > emacs
annotate src/m/news-risc.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 | 695cf19ef79e |
children | e032dd450ea7 375f2633d815 |
rev | line source |
---|---|
457 | 1 /* news-risc.h is for the "RISC News". */ |
2 | |
3 #include "mips.h" | |
4 | |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
5 #ifdef NEWSOS5 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
6 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
7 /* NEWS-OS 5.0.2 */ |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
8 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
9 #define LIBS_MACHINE -lmld |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
10 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
11 #ifdef __GNUC__ |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
12 #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
13 #else |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
14 #define C_DEBUG_SWITCH -g3 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
15 #define C_OPTIMIZE_SWITCH -g3 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
16 #define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
17 #endif |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
18 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
19 #else /* not NEWSOS5 */ |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
20 |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
40762
diff
changeset
|
21 /* The following line tells the configuration script what sort of |
457 | 22 operating system this machine is likely to run. |
23 USUAL-OPSYS="bsd4-3" */ | |
24 | |
25 #define COFF | |
26 #undef LD_SWITCH_MACHINE | |
27346
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
27 #ifdef __GNUC__ |
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
28 #define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000 |
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
29 #else |
457 | 30 #define LD_SWITCH_MACHINE -x -D 800000 |
27346
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
31 #endif |
457 | 32 |
33 /* #define C_OPTIMIZE_SWITCH -O2 */ | |
34 #define C_OPTIMIZE_SWITCH -O | |
35 | |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
36 #ifndef __GNUC__ |
457 | 37 #define C_DEBUG_SWITCH -g3 |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
38 #endif |
457 | 39 |
40 #undef TERMINFO | |
3520 | 41 |
42 /* We have no mode_t. */ | |
43 #define NO_MODE_T | |
44 | |
3819 | 45 /* Don't use the definitions in m/mips.h. */ |
3520 | 46 #undef LINKER |
27346
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
47 #define LINKER $(CC) -nostdlib |
3819 | 48 #undef LIBS_MACHINE |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
49 #define LIBS_MACHINE -lmld |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
50 |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
51 #undef KERNEL_FILE |
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
52 #define KERNEL_FILE "/vmunix" |
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
53 |
40762
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
54 /* System's malloc, realloc, calloc and so on have bad prototypes, |
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
55 using char * instead of void *, so tell gmalloc not to use the |
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
56 prototypes. */ |
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
57 #define BROKEN_PROTOTYPES |
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
58 |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
59 #endif /* not NEWSOS5 */ |
52401 | 60 |
61 /* arch-tag: cf17300c-dd34-4b9d-a657-2de718469662 | |
62 (do not change this comment) */ |