Mercurial > emacs
view src/s/ptx4-2.h @ 36417:350e6092a4c4
* src/macfns.c: Rename everything containing *busy_cursor* and
similar to *hourglass*.
Change IMAGE_POSITIVE_INTEGER_VALUE to
IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
(x_set_font): If font hasn't changed, avoid recomputing faces and
other things, as in xfns.c.
(Qcancel_timer): New variable.
(syms_of_macfns): Rename x-busy-pointer-shape to
x-hourglass-pointer-shape, display-busy-cursor to
display-hourglass, busy-cursor-delay to hourglass-delay, as in
xfns.c.
(x_set_tool_bar_lines): Modify as in xfns.c
(x_change_window_heights): New function.
* inc/macterm.h (struct x_output): Rename busy_cursor to
hourglass_cursor, busy_window to hourglass_window, busy_p to
hourglass_p, as in xterm.h.
* src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
safe_run_hooks, as in xmenu.c.
* src/macterm.c (do_check_ram_size): New function.
* src/Emacs.r: Add ALRT resource #129 for alert when there is over
256 MB RAM.
author | Andrew Choi <akochoi@shaw.ca> |
---|---|
date | Tue, 27 Feb 2001 14:33:20 +0000 |
parents | c2bb9ab28588 |
children | 695cf19ef79e |
line wrap: on
line source
#include "ptx4.h" /* Gelling Kevan (gellingk.eurostar@ems.rail.co.uk) says that PTX 4.2.3 needs this version. */ #undef SETUP_SLAVE_PTY #define SETUP_SLAVE_PTY \ if (ioctl (xforkin, I_PUSH, "ptem") == -1) \ fatal ("ioctl I_PUSH ptem", errno); \ if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \ fatal ("ioctl I_PUSH ldterm", errno); /* Gelling Kevan (gellingk.eurostar@ems.rail.co.uk) says that gmalloc.c needs _POSIX_SOURCE. This defines _POSIX_SOURCE only for gmalloc.c. */ #ifdef _MALLOC_INTERNAL #define _POSIX_SOURCE #endif