Mercurial > emacs
view src/s/aix3-2.h @ 83496:f271076dab2d
Fix toolbars on X frames when Emacs is started on a tty. (Reported by Richard Lewis.)
* lisp/faces.el (x-create-frame-with-faces): Remove bogus check for first
frame. Call `tool-bar-setup'.
* lisp/frame.el (window-system-default-frame-alist): Enhance doc string.
* lisp/frame.el (frame-notice-user-settings): Don't put 'tool-bar-lines
in `default-frame-alist' when initial frame is on a tty.
* lisp/frame.el (modify-all-frames-parameters): Simplify using
`assq-delete-all'. Remove specified parameters from
`window-system-default-frame-alist'.
* lisp/fringe.el (set-fringe-mode): Simplify and fix using
`modify-all-frames-parameters'.
* lisp/menu-bar.el (menu-bar-mode): Ditto.
* lisp/scroll-bar.el (set-scroll-bar-mode): Ditto.
* lisp/tool-bar.el (tool-bar-mode): Ditto. Remove 'tool-bar-map length
check before calling `tool-bar-setup'.
* lisp/tool-bar.el (tool-bar-setup): New variable.
* lisp/tool-bar.el (tool-bar-setup): Use it to guard against multiple
calls. Add optional frame parameter, and select that frame before
adding items.
* src/frame.c (syms_of_frame): Enhance doc string of `default-frame-alist'.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-536
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 26 Mar 2006 13:57:43 +0000 |
parents | 695cf19ef79e |
children | f586fc30dd78 375f2633d815 |
line wrap: on
line source
/* s- file for building Emacs on AIX 3.2. */ #include "aix3-1.h" #define AIX3_2 /* No need to define this--the header files indicate X11R4, and that's supposedly what 3.2 will come with. */ #undef SPECIFY_X11R4 #ifndef __GNUC__ /* Some programs in src produce warnings saying certain subprograms are to comples and need a MAXMEM value greater than 2000 for additional optimization. --nils@exp-math.uni-essen.de */ #define C_SWITCH_SYSTEM -ma -qmaxmem=4000 #endif /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */ #ifndef NOT_C_CODE #ifndef AIX4 #pragma alloca #endif #endif #undef rindex #undef index /* With this defined, a gcc-compiled Emacs crashed in realloc under AIX 3.2, and a cc-compiled Emacs works with this undefined. --karl@cs.umb.edu. */ #undef SYSTEM_MALLOC /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */ /* See comments about this in aix3-2-5.h. -- fx */ #ifndef __GNUC__ #define C_DEBUG_SWITCH -g -O #endif /* The character-composition stuff is broken in X11R5. Even with XIMStatusNothing aliased to XIMStatusNone, tranle@intellicorp.com (Minh Tran-Le) reports that enabling the internationalization code causes the modifier keys C, M and Shift to beep after a mouse click. */ #define X11R5_INHIBIT_I18N /* string.h defines rindex as a macro, at least with native cc, so we lose declaring char * rindex without this. It is just a guess which versions of AIX need this definition. */ #undef HAVE_STRING_H /* arch-tag: 0935754d-67e1-4697-978a-3e9976da05c3 (do not change this comment) */