Mercurial > hg > xemacs-beta
annotate src/s/irix4-0.h @ 2545:9caf26dd924f
[xemacs-hg @ 2005-02-03 05:03:36 by ben]
behavior ws #2: menu-related changes
menubar.c: New fun to compare menu itext as if the two were normalized.
menubar.c: Rename; there are no external callers of this function.
Remove unneeded BUFFER argument. Don't downcase.
(This will be done in compare-menu-text.)
Document that return value may be same string.
easymenu.el, map-ynp.el: Use normalize-menu-text not normalize-menu-item-name.
menubar-items.el, menubar.el: Move to menubar.el and rewrite for cleanliness.
menubar-items.el: Use menu-split-long-menu-and-sort.
menubar-items.el, menubar.el: Move to menubar.el.
menubar.el: New funs.
menubar.el: Split up find-menu-item w/find-menu-item-1, since PARENT is not
an external item.
Rewrite to use compare-menu-text.
menubar.el: Don't normalize items as find-menu-item does not need it.
menubar-items.el: Delete old Behavior menu defn, replaced by behavior-menu-filter.
Planning to [[Delete many menus from Tools menu -- they have been
integrated as part of the behavior system.]] Currently the new
Tools menu (very short, just a call to the behavior-menu-filter)
is commented out, and the old Toold menu defn remains. Once the
new packages are in place (c. 1 or 2 weeks), I'll make the
switchover.
Use menu-split-long-menu-and-sort.
author | ben |
---|---|
date | Thu, 03 Feb 2005 05:03:45 +0000 |
parents | abe6d1db359e |
children |
rev | line source |
---|---|
428 | 1 /* Synched up with: FSF 19.31. */ |
2 | |
3 #include "irix3-3.h" | |
4 | |
5 #define USG5_3 | |
6 #define IRIX4 | |
7 | |
8 #undef NEED_SIOCTL | |
9 | |
10 /* use K&R C */ | |
11 /* XEmacs change -- use ANSI, not K&R */ | |
12 #ifndef __GNUC__ | |
13 #define C_SWITCH_SYSTEM "-xansi" | |
14 #endif | |
15 | |
16 /* SGI has all the fancy wait stuff, but we can't include sys/wait.h | |
17 because it defines BIG_ENDIAN and LITTLE_ENDIAN (ugh!.) Instead | |
18 we'll just define WNOHANG right here. | |
19 (An implicit decl is good enough for wait3.) */ | |
20 /* [XEmacs: Now that we don't use BIG_ENDIAN/LITTLE_ENDIAN, it's safe | |
21 to include wait.h. Should something change here?] */ | |
22 | |
23 #define WNOHANG 0x1 | |
24 | |
25 /* jpff@maths.bath.ac.uk reports `struct exception' is not defined | |
26 on this system, so inhibit use of matherr. */ | |
27 #define NO_MATHERR |