diff options
| author | Stefan Monnier | 2007-08-29 21:50:39 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-08-29 21:50:39 +0000 |
| commit | b886686079fa2565808f1a48ed1d06f103c5698f (patch) | |
| tree | 1ad0d38846a4a41b223750bd5e395281112bc99b | |
| parent | b88c11ac65125f430b49f1fec637409670765f70 (diff) | |
| download | emacs-b886686079fa2565808f1a48ed1d06f103c5698f.tar.gz emacs-b886686079fa2565808f1a48ed1d06f103c5698f.zip | |
(set_initial_environment): Rename from set_global_environment.
| -rw-r--r-- | lisp/button.el | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 155 | ||||
| -rw-r--r-- | src/lisp.h | 3 |
3 files changed, 84 insertions, 76 deletions
diff --git a/lisp/button.el b/lisp/button.el index 3afe9302042..85180a92356 100644 --- a/lisp/button.el +++ b/lisp/button.el | |||
| @@ -470,5 +470,5 @@ Returns the button found." | |||
| 470 | 470 | ||
| 471 | (provide 'button) | 471 | (provide 'button) |
| 472 | 472 | ||
| 473 | ;;; arch-tag: 5f2c7627-413b-4097-b282-630f89d9c5e9 | 473 | ;; arch-tag: 5f2c7627-413b-4097-b282-630f89d9c5e9 |
| 474 | ;;; button.el ends here | 474 | ;;; button.el ends here |
diff --git a/src/ChangeLog b/src/ChangeLog index 78d4bb3211e..e3913a65bd4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | 2007-08-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * lisp.h (set_initial_environment): Rename from set_global_environment. | ||
| 4 | |||
| 5 | * Makefile.in (${etc}DOC): Re-add a ${EXEEXT} which seems to have been | ||
| 6 | removed by mistake on the multi-tty branch. | ||
| 7 | |||
| 8 | * frame.c (make_terminal_frame): Yet Another Int/Lisp_Object Mixup. | ||
| 9 | (Fmodify_frame_parameters): Return a value. | ||
| 10 | |||
| 11 | * image.c (png_load): Comment-out var only used in commented-out code. | ||
| 12 | |||
| 13 | * term.c (mark_ttys): Don't bother checking top_frame (incorrectly) | ||
| 14 | before passing it to mark_object. | ||
| 15 | |||
| 16 | * xfaces.c (internal_resolve_face_name): Return a value. | ||
| 17 | (internal_resolve_face_name, resolve_face_name_error): Comment out. | ||
| 18 | |||
| 19 | * xfns.c (check_x_display_info): Yet Another Int/Lisp_Object Mixup. | ||
| 20 | (x_icon): Comment-out var only used in commented-out code. | ||
| 21 | |||
| 1 | 2007-08-29 Romain Francoise <romain@orebokech.com> | 22 | 2007-08-29 Romain Francoise <romain@orebokech.com> |
| 2 | 23 | ||
| 3 | * keyboard.c (Fset_input_mode): Don't call `Fset_quit_char' if | 24 | * keyboard.c (Fset_input_mode): Don't call `Fset_quit_char' if |
| @@ -52,8 +73,8 @@ | |||
| 52 | 73 | ||
| 53 | * termhooks.h (union display_info): Add mac_display_info. | 74 | * termhooks.h (union display_info): Add mac_display_info. |
| 54 | 75 | ||
| 55 | * w32fns.c (Fx_create_frame): Use kboard from the terminal. Set | 76 | * w32fns.c (Fx_create_frame): Use kboard from the terminal. |
| 56 | the default minibuffer frame, window_system and the rest of the | 77 | Set the default minibuffer frame, window_system and the rest of the |
| 57 | frame parameters following what is done in X11. | 78 | frame parameters following what is done in X11. |
| 58 | 79 | ||
| 59 | * w32term.c (w32_initialize): Make static. | 80 | * w32term.c (w32_initialize): Make static. |
| @@ -78,8 +99,8 @@ | |||
| 78 | * makefile.w32-in: Update dependancies from Makefile.in | 99 | * makefile.w32-in: Update dependancies from Makefile.in |
| 79 | (OBJ1): Add terminal.$(O) | 100 | (OBJ1): Add terminal.$(O) |
| 80 | 101 | ||
| 81 | * term.c (dissociate_if_controlling_tty) [WINDOWSNT]: Don't | 102 | * term.c (dissociate_if_controlling_tty) [WINDOWSNT]: |
| 82 | define function body. | 103 | Don't define function body. |
| 83 | (init_tty) [WINDOWSNT]: Use selected_frame for initializing. | 104 | (init_tty) [WINDOWSNT]: Use selected_frame for initializing. |
| 84 | 105 | ||
| 85 | * termhooks.h (display_info) [WINDOWSNT]: Add w32. | 106 | * termhooks.h (display_info) [WINDOWSNT]: Add w32. |
| @@ -91,8 +112,8 @@ | |||
| 91 | (w32con_ins_del_lines, w32con_insert_glyphs, w32con_write_glyphs) | 112 | (w32con_ins_del_lines, w32con_insert_glyphs, w32con_write_glyphs) |
| 92 | (w32con_delete_glyphs, w32con_set_terminal_window) | 113 | (w32con_delete_glyphs, w32con_set_terminal_window) |
| 93 | (scroll_line, w32_sys_ring_bell): Add frame arg. | 114 | (scroll_line, w32_sys_ring_bell): Add frame arg. |
| 94 | (w32con_set_terminal_modes, w32con_reset_terminal_modes): Add | 115 | (w32con_set_terminal_modes, w32con_reset_terminal_modes): |
| 95 | terminal arg. | 116 | Add terminal arg. |
| 96 | (PICK_FRAME): Remove. | 117 | (PICK_FRAME): Remove. |
| 97 | (w32con_write_glyphs): Use frame specific terminal coding. | 118 | (w32con_write_glyphs): Use frame specific terminal coding. |
| 98 | (one_and_only_w32cons): New global variable. | 119 | (one_and_only_w32cons): New global variable. |
| @@ -102,8 +123,8 @@ | |||
| 102 | * w32inevt.c, w32inevt.h (w32_console_read_socket): Make first | 123 | * w32inevt.c, w32inevt.h (w32_console_read_socket): Make first |
| 103 | arg a frame. | 124 | arg a frame. |
| 104 | 125 | ||
| 105 | * w32fns.c (x_create_tip_frame): Set terminal and ref count. Set | 126 | * w32fns.c (x_create_tip_frame): Set terminal and ref count. |
| 106 | window_system. | 127 | Set window_system. |
| 107 | (x_set_tool_bar_lines): Don't use updating_frame. | 128 | (x_set_tool_bar_lines): Don't use updating_frame. |
| 108 | (Fx_create_frame): Set terminal and ref count. | 129 | (Fx_create_frame): Set terminal and ref count. |
| 109 | (Fx_open_connection): Remove window-system check. | 130 | (Fx_open_connection): Remove window-system check. |
| @@ -119,8 +140,7 @@ | |||
| 119 | (w32_initialize): Move terminal specific initialization to | 140 | (w32_initialize): Move terminal specific initialization to |
| 120 | w32_create_terminal. | 141 | w32_create_terminal. |
| 121 | 142 | ||
| 122 | * w32term.h (x_output): Remove foreground_pixel and | 143 | * w32term.h (x_output): Remove foreground_pixel and background_pixel. |
| 123 | background_pixel. | ||
| 124 | (w32_clear_rect, w32_clear_area): Use background from frame. | 144 | (w32_clear_rect, w32_clear_area): Use background from frame. |
| 125 | (w32_display_info): Add terminal. | 145 | (w32_display_info): Add terminal. |
| 126 | (w32_sys_ring_bell, x_delete_display): Declare here. | 146 | (w32_sys_ring_bell, x_delete_display): Declare here. |
| @@ -144,15 +164,15 @@ | |||
| 144 | 164 | ||
| 145 | 2007-08-29 Karoly Lorentey <karoly@lorentey.hu> | 165 | 2007-08-29 Karoly Lorentey <karoly@lorentey.hu> |
| 146 | 166 | ||
| 147 | * buffer.c (Fbuffer_list, Fbury_buffer): Take | 167 | * buffer.c (Fbuffer_list, Fbury_buffer): |
| 148 | frame->buried_buffer_list into account. | 168 | Take frame->buried_buffer_list into account. |
| 149 | 169 | ||
| 150 | * cm.c (current_tty): New variable, for cmputc(). | 170 | * cm.c (current_tty): New variable, for cmputc(). |
| 151 | (cmputc): Use it. | 171 | (cmputc): Use it. |
| 152 | (cmcheckmagic): Add tty parameter, look up terminal streams there. | 172 | (cmcheckmagic): Add tty parameter, look up terminal streams there. |
| 153 | (calccost): Add tty parameter. Use emacs_tputs() instead of tputs(). | 173 | (calccost): Add tty parameter. Use emacs_tputs() instead of tputs(). |
| 154 | (cmgoto): Add tty parameter. Pass it on to calccost(). Use | 174 | (cmgoto): Add tty parameter. Pass it on to calccost(). |
| 155 | emacs_tputs() instead of tputs(). | 175 | Use emacs_tputs() instead of tputs(). |
| 156 | 176 | ||
| 157 | * cm.h (emacs_tputs): New macro to set current_tty, and then call | 177 | * cm.h (emacs_tputs): New macro to set current_tty, and then call |
| 158 | tputs(). | 178 | tputs(). |
| @@ -173,19 +193,19 @@ | |||
| 173 | * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): | 193 | * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): |
| 174 | Remove redundant definition. | 194 | Remove redundant definition. |
| 175 | 195 | ||
| 176 | * macfns.c (x_set_mouse_color, x_make_gc): Use | 196 | * macfns.c (x_set_mouse_color, x_make_gc): |
| 177 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 197 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 178 | 198 | ||
| 179 | * w32term.c (x_free_frame_resources): Use | 199 | * w32term.c (x_free_frame_resources): |
| 180 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 200 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 181 | (w32_initialize): Use the accessor macros for terminal characteristics. | 201 | (w32_initialize): Use the accessor macros for terminal characteristics. |
| 182 | 202 | ||
| 183 | * macterm.c (mac_initialize): Use Fset_input_interrupt_mode. | 203 | * macterm.c (mac_initialize): Use Fset_input_interrupt_mode. |
| 184 | Use the accessor macros for terminal characteristics. | 204 | Use the accessor macros for terminal characteristics. |
| 185 | * msdos.c (internal_terminal_init): Use the accessor macros for | 205 | * msdos.c (internal_terminal_init): Use the accessor macros for |
| 186 | terminal characteristics. | 206 | terminal characteristics. |
| 187 | (ScreenVisualBell, internal_terminal_init): Use | 207 | (ScreenVisualBell, internal_terminal_init): |
| 188 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 208 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 189 | 209 | ||
| 190 | * termopts.h (no_redraw_on_reenter): Declare. | 210 | * termopts.h (no_redraw_on_reenter): Declare. |
| 191 | 211 | ||
| @@ -214,19 +234,18 @@ | |||
| 214 | * print.c (print_preprocess): Don't lose print_depth levels while | 234 | * print.c (print_preprocess): Don't lose print_depth levels while |
| 215 | iterating. | 235 | iterating. |
| 216 | 236 | ||
| 217 | * widget.c (update_from_various_frame_slots): Use | 237 | * widget.c (update_from_various_frame_slots): |
| 218 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 238 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 219 | 239 | ||
| 220 | * window.c (set_window_buffer): Don't call clear_mouse_face on tty | 240 | * window.c (set_window_buffer): Don't call clear_mouse_face on tty |
| 221 | frames. | 241 | frames. |
| 222 | (window_internal_height): Remove bogus make_number call. | 242 | (window_internal_height): Remove bogus make_number call. |
| 223 | (init_window_once): Call make_terminal_frame with two zero | 243 | (init_window_once): Call make_terminal_frame with two zero parameters. |
| 224 | parameters. | ||
| 225 | 244 | ||
| 226 | * fileio.c (Fread_file_name): Update comment. | 245 | * fileio.c (Fread_file_name): Update comment. |
| 227 | 246 | ||
| 228 | * callint.c (Fcall_interactively): Use | 247 | * callint.c (Fcall_interactively): |
| 229 | temporarily_switch_to_single_kboard instead of single_kboard_state. | 248 | Use temporarily_switch_to_single_kboard instead of single_kboard_state. |
| 230 | Make sure it is correctly unwound. | 249 | Make sure it is correctly unwound. |
| 231 | 250 | ||
| 232 | * xsmfns.c (x_session_close): New function. | 251 | * xsmfns.c (x_session_close): New function. |
| @@ -244,24 +263,21 @@ | |||
| 244 | (read_filtered_event): Call `read_char' with a local | 263 | (read_filtered_event): Call `read_char' with a local |
| 245 | `wrong_kboard_jmpbuf'. | 264 | `wrong_kboard_jmpbuf'. |
| 246 | 265 | ||
| 247 | * minibuf.c (read_minibuf): Call | 266 | * minibuf.c (read_minibuf): Call temporarily_switch_to_single_kboard. |
| 248 | temporarily_switch_to_single_kboard. Don't call | 267 | Don't call single_kboard_state. Use FRAME_RIF. |
| 249 | single_kboard_state. Use FRAME_RIF. | ||
| 250 | 268 | ||
| 251 | * process.c (Fmake_network_process): Don't unrequest_sigio on modern | 269 | * process.c (Fmake_network_process): Don't unrequest_sigio on modern |
| 252 | systems. | 270 | systems. |
| 253 | 271 | ||
| 254 | * lisp.h (set_process_environment): Rename to | 272 | * lisp.h (set_process_environment): Rename to `set_global_environment'. |
| 255 | `set_global_environment'. | ||
| 256 | (Fframe_with_environment, Fset_input_meta_mode) | 273 | (Fframe_with_environment, Fset_input_meta_mode) |
| 257 | (Fset_quit_char): EXFUN. | 274 | (Fset_quit_char): EXFUN. |
| 258 | (x_create_device, tty_output, terminal, tty_display_info): Declare. | 275 | (x_create_device, tty_output, terminal, tty_display_info): Declare. |
| 259 | (init_sys_modes, reset_sys_modes): Update prototypes. | 276 | (init_sys_modes, reset_sys_modes): Update prototypes. |
| 260 | (init_all_sys_modes, reset_all_sys_modes): New prototypes. | 277 | (init_all_sys_modes, reset_all_sys_modes): New prototypes. |
| 261 | 278 | ||
| 262 | * keyboard.h (struct kboard): Add new fields: | 279 | * keyboard.h (struct kboard): Add new fields Vlocal_function_key_map, |
| 263 | Vlocal_function_key_map, Vlocal_key_translation_map, | 280 | Vlocal_key_translation_map, and Vkeyboard_translate_table. |
| 264 | Vkeyboard_translate_table. | ||
| 265 | (Vfunction_key_map, Vkeyboard_translate_table, single_kboard_state): | 281 | (Vfunction_key_map, Vkeyboard_translate_table, single_kboard_state): |
| 266 | Delete declarations. | 282 | Delete declarations. |
| 267 | (Vfunction_key_map, Vkey_translation_map, push_kboard, pop_kboard) | 283 | (Vfunction_key_map, Vkey_translation_map, push_kboard, pop_kboard) |
| @@ -270,8 +286,8 @@ | |||
| 270 | 286 | ||
| 271 | * emacs.c (main): Don't call init_sys_modes(), the new term_init() | 287 | * emacs.c (main): Don't call init_sys_modes(), the new term_init() |
| 272 | already does that during init_display(). Call syms_of_keymap | 288 | already does that during init_display(). Call syms_of_keymap |
| 273 | before syms_of_keyboard. Call `syms_of_terminal'. Call | 289 | before syms_of_keyboard. Call `syms_of_terminal'. |
| 274 | set_initial_environment, not set_process_environment. | 290 | Call set_initial_environment, not set_process_environment. |
| 275 | (shut_down_emacs): Call reset_all_sys_modes() instead of | 291 | (shut_down_emacs): Call reset_all_sys_modes() instead of |
| 276 | reset_sys_modes(). | 292 | reset_sys_modes(). |
| 277 | 293 | ||
| @@ -288,8 +304,7 @@ | |||
| 288 | characteristics. | 304 | characteristics. |
| 289 | 305 | ||
| 290 | * keymap.c (Vfunction_key_map): Remove. | 306 | * keymap.c (Vfunction_key_map): Remove. |
| 291 | (Fdescribe_buffer_bindings): Update references to | 307 | (Fdescribe_buffer_bindings): Update references to Vfunction_key_map. |
| 292 | Vfunction_key_map. | ||
| 293 | (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. | 308 | (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. |
| 294 | (Vkey_translation_map): Remove. | 309 | (Vkey_translation_map): Remove. |
| 295 | (syms_of_keymap): Remove DEFVAR for key-translation-map. | 310 | (syms_of_keymap): Remove DEFVAR for key-translation-map. |
| @@ -345,13 +360,12 @@ | |||
| 345 | (insert_glyphs): Remove. | 360 | (insert_glyphs): Remove. |
| 346 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) | 361 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) |
| 347 | (tty_turn_off_highlight, get_tty_size): Add declaration. | 362 | (tty_turn_off_highlight, get_tty_size): Add declaration. |
| 348 | (tabs_safe_p, init_baud_rate, get_tty_terminal): Update | 363 | (tabs_safe_p, init_baud_rate, get_tty_terminal): Update prototypes. |
| 349 | prototypes. | ||
| 350 | 364 | ||
| 351 | * frame.h (enum output_method): Add output_initial. | 365 | * frame.h (enum output_method): Add output_initial. |
| 352 | (struct x_output): Delete. | 366 | (struct x_output): Delete. |
| 353 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Access | 367 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): |
| 354 | foreground_pixel and background_pixel directly from the frame. | 368 | Access foreground_pixel and background_pixel directly from the frame. |
| 355 | (tty_display): Delete. | 369 | (tty_display): Delete. |
| 356 | (struct frame): Add buried_buffer_list, foreground_pixel, | 370 | (struct frame): Add buried_buffer_list, foreground_pixel, |
| 357 | background_pixel and terminal. Delete kboard | 371 | background_pixel and terminal. Delete kboard |
| @@ -360,8 +374,8 @@ | |||
| 360 | (FRAME_INITIAL_P): New macro. | 374 | (FRAME_INITIAL_P): New macro. |
| 361 | (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment) | 375 | (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment) |
| 362 | (Qterm_environment_variable, Qdisplay_environment_variable) | 376 | (Qterm_environment_variable, Qdisplay_environment_variable) |
| 363 | (make_terminal_frame, Qburied_buffer_list, Qwindow_system): New | 377 | (make_terminal_frame, Qburied_buffer_list, Qwindow_system): |
| 364 | declarations. | 378 | New declarations. |
| 365 | 379 | ||
| 366 | * termchar.h (tty_output, tty_display_info): New structures. | 380 | * termchar.h (tty_output, tty_display_info): New structures. |
| 367 | (tty_list): Declare. | 381 | (tty_list): Declare. |
| @@ -375,20 +389,18 @@ | |||
| 375 | parameters. | 389 | parameters. |
| 376 | (add_env): New function. | 390 | (add_env): New function. |
| 377 | (child_setup): Use it. | 391 | (child_setup): Use it. |
| 378 | (child_setup, getenv_internal): Handle the new | 392 | (child_setup, getenv_internal): Handle the new Vprocess_environment. |
| 379 | Vprocess_environment. | ||
| 380 | (getenv_internal): Fix get_terminal_param call. | 393 | (getenv_internal): Fix get_terminal_param call. |
| 381 | (Fgetenv_internal, egetenv): Update doc. | 394 | (Fgetenv_internal, egetenv): Update doc. |
| 382 | (syms_of_callproc): Initialize Vprocess_environment to nil. | 395 | (syms_of_callproc): Initialize Vprocess_environment to nil. |
| 383 | Register and initialize them. Remove obsolete defvars. Update doc | 396 | Register and initialize them. Remove obsolete defvars. Update doc |
| 384 | strings. | 397 | strings. |
| 385 | (child_setup): Handle Vlocal_environment_variables. | 398 | (child_setup): Handle Vlocal_environment_variables. |
| 386 | (getenv_internal): Add terminal parameter. Handle | 399 | (getenv_internal): Add terminal parameter. |
| 387 | Vlocal_environment_variables. | 400 | Handle Vlocal_environment_variables. |
| 388 | (Fgetenv_internal): Add terminal parameter. | 401 | (Fgetenv_internal): Add terminal parameter. |
| 389 | (child_setup, getenv_internal, Fgetenv_internal): Store the local | 402 | (child_setup, getenv_internal, Fgetenv_internal): Store the local |
| 390 | environment in a frame (not terminal) parameter. Update doc | 403 | environment in a frame (not terminal) parameter. Update doc strings. |
| 391 | strings. | ||
| 392 | (set_initial_environment): Rename from set_global_environment. | 404 | (set_initial_environment): Rename from set_global_environment. |
| 393 | Store Emacs environment in initial frame parameter. | 405 | Store Emacs environment in initial frame parameter. |
| 394 | 406 | ||
| @@ -413,14 +425,13 @@ | |||
| 413 | Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF. | 425 | Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF. |
| 414 | 426 | ||
| 415 | * xfns.c (x_set_foreground_color x_set_background_color) | 427 | * xfns.c (x_set_foreground_color x_set_background_color) |
| 416 | (x_set_mouse_color, x_set_cursor_color, x_make_gc): Use | 428 | (x_set_mouse_color, x_set_cursor_color, x_make_gc): |
| 417 | FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | 429 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. |
| 418 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) | 430 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) |
| 419 | (Fx_create_frame, x_create_tip_frame): Don't create frames on a | 431 | (Fx_create_frame, x_create_tip_frame): Don't create frames on a |
| 420 | terminal that is being deleted. | 432 | terminal that is being deleted. |
| 421 | (Fx_create_frame): Use `store_frame_param' to set `window-system' | 433 | (Fx_create_frame): Use `store_frame_param' to set `window-system' |
| 422 | frame parameter, and make sure it overrides any user-supplied | 434 | frame parameter, and make sure it overrides any user-supplied setting. |
| 423 | setting. | ||
| 424 | (Fx_close_connection, Fx_synchronize): Unify argument names with | 435 | (Fx_close_connection, Fx_synchronize): Unify argument names with |
| 425 | the rest of the DEFUNs. | 436 | the rest of the DEFUNs. |
| 426 | 437 | ||
| @@ -475,15 +486,13 @@ | |||
| 475 | * frame.c (Fframep): Deal with output_initial. | 486 | * frame.c (Fframep): Deal with output_initial. |
| 476 | (Qbuffer_predicate, Qbuffer_list, Qburied_buffer_list, Qtty) | 487 | (Qbuffer_predicate, Qbuffer_list, Qburied_buffer_list, Qtty) |
| 477 | (Qtty_type, Qwindow_system, Qenvironment) | 488 | (Qtty_type, Qwindow_system, Qenvironment) |
| 478 | (Qterm_environment_variable, Qdisplay_environment_variable): New | 489 | (Qterm_environment_variable, Qdisplay_environment_variable): New vars. |
| 479 | variables. | ||
| 480 | (x_set_screen_gamma, store_frame_param): Fix compilation errors. | 490 | (x_set_screen_gamma, store_frame_param): Fix compilation errors. |
| 481 | (make_terminal_frame): Don't create frames on a terminal that is | 491 | (make_terminal_frame): Don't create frames on a terminal that is |
| 482 | being deleted. | 492 | being deleted. |
| 483 | (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and | 493 | (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and |
| 484 | FRAME_FOREGROUND_PIXEL. | 494 | FRAME_FOREGROUND_PIXEL. |
| 485 | (store_frame_param): Check for found_for_frame before calling | 495 | (store_frame_param): Check for found_for_frame before calling XFRAME. |
| 486 | XFRAME. | ||
| 487 | (Fmake_terminal_frame): Handle NULL tty names correctly. | 496 | (Fmake_terminal_frame): Handle NULL tty names correctly. |
| 488 | (syms_of_frame): Enhance doc string of `default-frame-alist'. | 497 | (syms_of_frame): Enhance doc string of `default-frame-alist'. |
| 489 | (Fdelete_frame): Remove unused variable `count'. | 498 | (Fdelete_frame): Remove unused variable `count'. |
| @@ -491,8 +500,7 @@ | |||
| 491 | (Fdelete_frame): Don't allow other frames to refer to a deleted | 500 | (Fdelete_frame): Don't allow other frames to refer to a deleted |
| 492 | frame in their 'environment parameter. | 501 | frame in their 'environment parameter. |
| 493 | (Fframe_with_environment): New function. | 502 | (Fframe_with_environment): New function. |
| 494 | (syms_of_frame): Defsubr it. Initialize and staticpro | 503 | (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. |
| 495 | Qenvironment. | ||
| 496 | (get_future_frame_param): New function. | 504 | (get_future_frame_param): New function. |
| 497 | (Fmake_terminal_frame): Use it. | 505 | (Fmake_terminal_frame): Use it. |
| 498 | 506 | ||
| @@ -507,22 +515,21 @@ | |||
| 507 | 515 | ||
| 508 | (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf | 516 | (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf |
| 509 | parameter. Use it in call to `read_char'. | 517 | parameter. Use it in call to `read_char'. |
| 510 | (read_char): Declare. Update call to | 518 | (read_char): Declare. Update call to `read_char_minibuf_menu_prompt'. |
| 511 | `read_char_minibuf_menu_prompt'. Set wrong_kboard_jmpbuf | 519 | Set wrong_kboard_jmpbuf correctly in recursive calls. |
| 512 | correctly in recursive calls. Use current_kboard to access | 520 | Use current_kboard to access Vkeyboard_translate_table. |
| 513 | Vkeyboard_translate_table. Enhance comment before extra longjmp | 521 | Enhance comment before extra longjmp to wrong_kboard_jmpbuf. |
| 514 | to wrong_kboard_jmpbuf. Add wrong_kboard_jmpbuf parameter to | 522 | Add wrong_kboard_jmpbuf parameter to allow for recursive calls. |
| 515 | allow for recursive calls. Update longjmp invocations. Remember | 523 | Update longjmp invocations. Remember the original current_kboard, |
| 516 | the original current_kboard, and longjmp to `wrong_kboard_jmpbuf' | 524 | and longjmp to `wrong_kboard_jmpbuf' when a filter, timer or sentinel |
| 517 | when a filter, timer or sentinel changes it. Comment out | 525 | changes it. Comment out unnecessary calls to |
| 518 | unnecessary calls to `record_single_kboard_state' and | 526 | `record_single_kboard_state' and `any_kboard_state'. |
| 519 | `any_kboard_state'. Update recursive calls. | 527 | Update recursive calls. |
| 520 | (wrong_kboard_jmpbuf): Remove global variable. | 528 | (wrong_kboard_jmpbuf): Remove global variable. |
| 521 | (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. | 529 | (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. |
| 522 | Handle deleted interrupted_kboards correctly; that is a legal | 530 | Handle deleted interrupted_kboards correctly; that is a legal |
| 523 | case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp | 531 | case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp |
| 524 | and read_char calls. Abort if interrupted_kboard died in | 532 | and read_char calls. Abort if interrupted_kboard died in read_char. |
| 525 | read_char. | ||
| 526 | (any_kboard_state, single_kboard_state) | 533 | (any_kboard_state, single_kboard_state) |
| 527 | (push_frame_kboard): Remove function. | 534 | (push_frame_kboard): Remove function. |
| 528 | (pop_kboard): Switch out of single_kboard mode if the kboard has | 535 | (pop_kboard): Switch out of single_kboard mode if the kboard has |
| @@ -540,8 +547,8 @@ | |||
| 540 | up single_kboard mode. | 547 | up single_kboard mode. |
| 541 | (Frecursive_edit): Switch to single_kboard mode only in nested | 548 | (Frecursive_edit): Switch to single_kboard mode only in nested |
| 542 | command loops. | 549 | command loops. |
| 543 | (cmd_error, command_loop, command_loop_1, timer_check): Comment | 550 | (cmd_error, command_loop, command_loop_1, timer_check): |
| 544 | out unnecessary call to `any_kboard_state' and | 551 | Comment out unnecessary call to `any_kboard_state' and |
| 545 | `record_single_kboard_state'. | 552 | `record_single_kboard_state'. |
| 546 | (delete_kboard): Exit single_kboard mode if we have just deleted | 553 | (delete_kboard): Exit single_kboard mode if we have just deleted |
| 547 | that kboard. Use FRAME_KBOARD. | 554 | that kboard. Use FRAME_KBOARD. |
diff --git a/src/lisp.h b/src/lisp.h index b2bca426431..230f3a05184 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3009,6 +3009,7 @@ extern void init_keyboard P_ ((void)); | |||
| 3009 | extern void syms_of_keyboard P_ ((void)); | 3009 | extern void syms_of_keyboard P_ ((void)); |
| 3010 | extern void keys_of_keyboard P_ ((void)); | 3010 | extern void keys_of_keyboard P_ ((void)); |
| 3011 | extern char *push_key_description P_ ((unsigned int, char *, int)); | 3011 | extern char *push_key_description P_ ((unsigned int, char *, int)); |
| 3012 | extern void add_user_signal P_ ((int sig, const char *name)); | ||
| 3012 | 3013 | ||
| 3013 | 3014 | ||
| 3014 | /* defined in indent.c */ | 3015 | /* defined in indent.c */ |
| @@ -3120,7 +3121,7 @@ EXFUN (Fcall_process, MANY); | |||
| 3120 | extern int child_setup P_ ((int, int, int, char **, int, Lisp_Object)); | 3121 | extern int child_setup P_ ((int, int, int, char **, int, Lisp_Object)); |
| 3121 | extern void init_callproc_1 P_ ((void)); | 3122 | extern void init_callproc_1 P_ ((void)); |
| 3122 | extern void init_callproc P_ ((void)); | 3123 | extern void init_callproc P_ ((void)); |
| 3123 | extern void set_global_environment P_ ((void)); | 3124 | extern void set_initial_environment P_ ((void)); |
| 3124 | extern void syms_of_callproc P_ ((void)); | 3125 | extern void syms_of_callproc P_ ((void)); |
| 3125 | 3126 | ||
| 3126 | /* defined in doc.c */ | 3127 | /* defined in doc.c */ |