diff options
| author | Dmitry Antipov | 2013-07-31 10:05:05 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-07-31 10:05:05 +0400 |
| commit | 959067a1123547f4e111d87dab7ae152ecf901d7 (patch) | |
| tree | 51956b24cf00ce5cace9027627ec1558a7219547 /src/terminal.c | |
| parent | 42d439528dd73715c12a993df023121267bbba7f (diff) | |
| download | emacs-959067a1123547f4e111d87dab7ae152ecf901d7.tar.gz emacs-959067a1123547f4e111d87dab7ae152ecf901d7.zip | |
* frame.c (make_frame, x_set_frame_parameters): Use bool for boolean.
(x_figure_window_size): Likewise. Adjust to return long.
(syms_of_frame): Do not DEFSYM Qterminal_live_p.
(toplevel): Move Qterminal_live_p to...
* terminal.c (toplevel): ...here, make it static, and...
(syms_of_terminal): ...DEFSYM here.
* frame.h (Qterminal_live_p): Remove declaration.
(make_frame, x_figure_window_size): Adjust prototype.
* nsfns.m (Fx_create_frame): Use long for window flags.
Diffstat (limited to 'src/terminal.c')
| -rw-r--r-- | src/terminal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c index c55fd4eb077..4b5532e3a44 100644 --- a/src/terminal.c +++ b/src/terminal.c | |||
| @@ -39,6 +39,8 @@ static int next_terminal_id; | |||
| 39 | /* The initial terminal device, created by initial_term_init. */ | 39 | /* The initial terminal device, created by initial_term_init. */ |
| 40 | struct terminal *initial_terminal; | 40 | struct terminal *initial_terminal; |
| 41 | 41 | ||
| 42 | static Lisp_Object Qterminal_live_p; | ||
| 43 | |||
| 42 | static void delete_initial_terminal (struct terminal *); | 44 | static void delete_initial_terminal (struct terminal *); |
| 43 | 45 | ||
| 44 | /* This setter is used only in this file, so it can be private. */ | 46 | /* This setter is used only in this file, so it can be private. */ |
| @@ -549,6 +551,8 @@ Each function is called with argument, the terminal. | |||
| 549 | This may be called just before actually deleting the terminal, | 551 | This may be called just before actually deleting the terminal, |
| 550 | or some time later. */); | 552 | or some time later. */); |
| 551 | Vdelete_terminal_functions = Qnil; | 553 | Vdelete_terminal_functions = Qnil; |
| 554 | |||
| 555 | DEFSYM (Qterminal_live_p, "terminal-live-p"); | ||
| 552 | DEFSYM (Qdelete_terminal_functions, "delete-terminal-functions"); | 556 | DEFSYM (Qdelete_terminal_functions, "delete-terminal-functions"); |
| 553 | DEFSYM (Qrun_hook_with_args, "run-hook-with-args"); | 557 | DEFSYM (Qrun_hook_with_args, "run-hook-with-args"); |
| 554 | 558 | ||