Mercurial > emacs
annotate src/m/cnvrgnt.h @ 50370:0c01548d7ed3
The following changes consolidates the common code related to
frame-parameter handling from the xfns.c, w32fns.c, and macfns.c
files into frame.c.
* xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame
parameters now defined in frame.h and frame.c.
(Vx_resource_name): Remove. Use generic var.
(enum x_frame_parms): Remove (bogus, unused enum).
(check_x_display_info): Make non-static (for frame.c).
(struct x_frame_parm_table, x_frame_parms): Remove.
(init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params)
(x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font)
(x_set_border_width, x_set_internal_border_width, x_set_visibility)
(x_change_window_heights, x_set_autoraise, x_set_autolower)
(x_set_vertical_scroll_bars, x_set_scroll_bar_width)
(validate_x_resource_name, Fx_get_resource, x_get_resource_string)
(x_default_parameter, Fx_parse_geometry, x_figure_window_size):
Remove. Use generic functions instead.
(enum resource_types): Remove.
(x_set_scroll_bar_default_width): New global function (for frame.c).
(Fx_create_frame): Depend on x_figure_window_size to add space for
toolbar and setup size_hint_flags.
(x_frame_parm_handlers): New table for redisplay_interface.
(syms_of_xfns): Don't intern/staticpro removed vars.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 31 Mar 2003 20:36:21 +0000 |
parents | 4be8406ebef9 |
children | 695cf19ef79e d7ddb3e565de |
rev | line source |
---|---|
456 | 1 /* machine description file for convergent S series. |
44601
4be8406ebef9
Don't define HAVE_ALLOCA, C_ALLOCA and STACK_DIRECTION, now set by autoconf.
Andreas Schwab <schwab@suse.de>
parents:
41857
diff
changeset
|
2 Copyright (C) 1989, 2002 Free Software Foundation, Inc. |
456 | 3 |
4 This file is part of GNU Emacs. | |
5 | |
6 GNU Emacs is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
3699 | 8 the Free Software Foundation; either version 2, or (at your option) |
456 | 9 any later version. |
10 | |
11 GNU Emacs is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with GNU Emacs; see the file COPYING. If not, write to | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13374
diff
changeset
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13374
diff
changeset
|
19 Boston, MA 02111-1307, USA. */ |
456 | 20 |
21 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
22 /* 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
|
23 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
|
24 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
25 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
26 |
456 | 27 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
28 * group of arguments and treat it as an array of the arguments. */ | |
29 | |
30 /* #define NO_ARG_ARRAY */ | |
31 | |
32 /* Define WORD_MACHINE if addresses and such have | |
33 * to be corrected before they can be used as byte counts. */ | |
34 | |
35 /* #define WORD_MACHINE */ | |
36 | |
37 /* Now define a symbol for the cpu type, if your compiler | |
38 does not define it automatically. */ | |
39 | |
40 #define m68000 | |
41 | |
42 /* Use type int rather than a union, to represent Lisp_Object. | |
43 This is desirable for most machines. */ | |
44 | |
45 #define NO_UNION_TYPE | |
46 | |
47 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
48 the 24-bit bit field into an int. In other words, if bit fields | |
49 are always unsigned. | |
50 | |
51 If you use NO_UNION_TYPE, this flag does not matter. */ | |
52 | |
53 #define EXPLICIT_SIGN_EXTEND | |
54 | |
55 /* Data type of load average, as read out of kmem. | |
56 These are commented out since it is not supported by this machine. */ | |
57 | |
58 #define LOAD_AVE_TYPE double | |
59 | |
60 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
61 | |
62 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | |
63 | |
64 /* Define CANNOT_DUMP on machines where unexec does not work. | |
65 Then the function dump-emacs will not be defined | |
66 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
67 | |
68 /* #define CANNOT_DUMP */ | |
69 | |
70 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
71 pure and impure space as loaded can vary, and even their | |
72 relative order cannot be relied on. | |
73 | |
74 Otherwise Emacs assumes that text space precedes data space, | |
75 numerically. */ | |
76 | |
77 #undef VIRT_ADDR_VARIES | |
78 | |
79 /* Define NO_REMAP if memory segmentation makes it not work well | |
80 to change the boundary between the text section and data section | |
81 when Emacs is dumped. If you define this, the preloaded Lisp | |
82 code will not be sharable; but that's better than failing completely. */ | |
83 | |
84 #define NO_REMAP | |
85 | |
86 /* Change some things to avoid bugs in compiler. */ | |
87 | |
88 #define SWITCH_ENUM_BUG | |
89 | |
90 /* some errno.h's don't actually allocate the variable itself. | |
91 Cause crt0.c to define errno. */ | |
92 | |
93 #define NEED_ERRNO |