Gerd Moellmann
79a65b7fbe
(Fdelete_frame): Correct local variable pointing to
...
selected frame after selecting new frame.
1999-09-16 12:52:16 +00:00
Gerd Moellmann
d2d2ddaf52
(direct_output_forward_char): Don't use this method
...
if showing a message or a message was just cleared because we
might need to resize the mini-window.
1999-09-16 12:52:13 +00:00
Gerd Moellmann
bb10ca9348
(toplevel) [HAVE_TERMCAP_H]: Include termcap.h.
1999-09-16 12:52:12 +00:00
Gerd Moellmann
faa935b653
(single_menu_item, Fx_popup_menu, Fx_popup_menu,
...
single_submenu, update_frame_menubar, set_frame_menubar,
free_frame_menubar, xmenu_show, xdialog_show): Remove unused
variables.
1999-09-15 12:58:53 +00:00
Gerd Moellmann
d2c48e866a
(resize_mini_window): Don't report changed window
...
height if it actually hasn't changed.
1999-09-15 12:58:44 +00:00
Gerd Moellmann
ccce60568f
(set_frame_size, EmacsFrameSetCharSize): Remove
...
unused variables.
(mark_shell_size_user_specified): Put in #if 0 because not used.
(create_frame_gcs): Put in #if 0 because currently unused.
(first_frame_p): Ditto.
1999-09-15 12:58:42 +00:00
Gerd Moellmann
b0f61f1525
(OUTPUT_IF, OUTPUT1_IF): Use do-while.
...
(encode_terminal_code): Remove unused variables.
(turn_off_face): Ditto.
(toplevel): Include termcap.h if HAVE_TERMCAP_H.
1999-09-15 12:58:40 +00:00
Gerd Moellmann
63fbf4ff16
(PRINTFULLP): Removed because it is no longer used and
...
is misleading.
(Ferror_message_string): Remove unused variables.
(print_object): Cast argument of sprintf to long for `%ld'
specifier. Remove unused variable.
1999-09-15 12:58:37 +00:00
Gerd Moellmann
26c636862d
(update_frame_line): If writing whole desired line,
...
don't clear to end of line if already at the end.
1999-09-15 12:58:31 +00:00
Gerd Moellmann
9680b9d055
(Fplay_sound): Remove usused variables.
...
(be2hs): Put in #if 0 because it's currently not used.
1999-09-14 20:11:59 +00:00
Ken Raeburn
94b342cea5
Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member access.
1999-09-14 15:12:57 +00:00
Gerd Moellmann
5c187deef5
(x_scroll_bar_handle_click): Compile only if
...
not USE_TOOLKIT_SCROLL_BARS.
(x_scroll_bar_set_handle, x_scroll_bar_note_movement): Ditto.
(x_produce_glyphs): Remove unused variable(s).
(x_alloc_nearest_color_for_widget, note_tool_bar_highlight,
x_set_toolkit_scroll_bar_thumb): Ditto.
(x_scroll_bar_create): Move local variable to the
conditionally compiled section of code where it is used.
(x_scroll_bar_create): Remove unused variable(s).
(x_scroll_bar_remove, XTread_socket): Ditto.
(XTread_socket) <ConfigureNotify>: Move variables used for
non-toolkit case into conditionally compiled section of code.
1999-09-14 13:09:49 +00:00
Gerd Moellmann
b6d7acec85
(x_set_background_color): Remove unused variable(s).
...
(x_set_border_pixel): Ditto.
(x_set_menu_bar_lines): Put local variable used only for
non-toolkit case in #ifdef/#endif.
(x_figure_window_size): Remove unused variable(s).
(x_figure_window_size, x_window, lookup_image,
xbm_read_bitmap_file_data, x_build_heuristic_mask, pbm_load,
png_load, jpeg_load, gif_load, x_create_tip_frame,
x_create_tip_frame, Fx_show_tip, x_set_border_pixel): Ditto.
1999-09-14 13:09:43 +00:00
Gerd Moellmann
539bf76f01
(display_echo_area_1, try_window_id): Remove unused
...
variable(s).
1999-09-14 13:09:34 +00:00
Gerd Moellmann
4dedbdd83c
(freeze_window_starts): Fix typo in prototype.
1999-09-14 13:09:33 +00:00
Gerd Moellmann
7de6c76606
Add prototype for debug_print.
...
Add prototype for getloadavg.
1999-09-14 13:09:31 +00:00
Gerd Moellmann
c3df1ad99d
(CHECK_FRAME, CHECK_LIVE_FRAME): Put code in do-while.
1999-09-14 13:09:30 +00:00
Gerd Moellmann
213bac8afd
(Fnext_frame): Remove unused variable(s).
...
(Fprevious_frame, Fmouse_pixel_position, frame_name_fnn_p): Ditto.
(store_frame_param): Add parentheses to conditional expression.
(Fmodify_frame_parameters): Remove unused variables.
(Fmodify_frame_parameters, Fset_frame_size, Fset_frame_position):
Ditto.
1999-09-14 13:09:27 +00:00
Gerd Moellmann
ada0fa1430
(SXHASH_COMBINE): Add missing parentheses.
...
(Fchar_table_range, Fset_char_table_default, mapcar1,
Fyes_or_no_p, sweep_weak_hash_tables): Remove unused variable(s).
1999-09-14 13:09:25 +00:00
Gerd Moellmann
5ae040a667
Add prototypes for gamma_correct and
...
x_kill_gs_process.
(xassert) [GLYPH_DEBUG]: Change definition
to use do-while.
1999-09-14 13:09:22 +00:00
Andreas Schwab
5684cd6e1b
(Fopen_network_stream): Avoid socket decriptor leak.
1999-09-14 08:33:24 +00:00
Andreas Schwab
38a734b86b
Declare close_file_unwind.
1999-09-14 08:29:51 +00:00
Gerd Moellmann
74d481acba
(redisplay_window): Make sure start_at_line_beg
...
is always set correctly.
1999-09-13 20:47:20 +00:00
Richard M. Stallman
0f25ecc6ca
Support print-circle and related features.
...
(Vprint_gensym_alist): Removed.
(Vprint_circle, Vprint_continuous_numbering, print_number_index
Vprint_number_table): New variables.
(PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): New macros.
(PRINTPREPARE, PRINTFINISH): Don't set Vprint_gensym_alist.
(print, print_preprocess, print_preprocess_string, print_object):
New/modified functions with print-circle feature. Use
Vprint_number_table instead of Vprint_gensym_alist for print-gensym.
(syms_of_print): Defined new Lisp variables `print-circle',
`print-continuous-numbering', `print-number-table'.
1999-09-13 19:26:18 +00:00
Dave Love
701552ddc8
(move_it_in_display_line_to): Make type consistent with declaration.
1999-09-13 19:15:41 +00:00
Dave Love
8abee2e185
Don't continue #define args for benefit of old cc.
...
(xt_action_hook): Indent #error for benefit of K&R cc.
1999-09-13 19:10:19 +00:00
Dave Love
ea6b19cafa
(x_put_x_image): Make type consistent with declaration.
1999-09-13 19:06:32 +00:00
Dave Love
526cfb19a7
(Fmake_hash_table): Fix string continuation.
1999-09-13 19:03:19 +00:00
Gerd Moellmann
b86bd3dd37
(XTcursor_to): Change for Lisp_Object selected_frame.
...
(x_clear_frame, XTring_bell, XTmouse_position, XTread_socket): Ditto.
(XRINGBELL): Removed.
1999-09-13 11:14:29 +00:00
Gerd Moellmann
378c33ca4b
(x_own_selection): Change for Lisp_Object selected_frame.
...
(Fx_store_cut_buffer_internal): Ditto.
(Fx_rotate_cut_buffers_internal): Ditto.
1999-09-13 11:14:26 +00:00
Gerd Moellmann
b404828f5f
(Fx_popup_menu): Change for Lisp_Object selected_frame.
...
(Fx_popup_dialog): Ditto.
1999-09-13 11:14:23 +00:00
Gerd Moellmann
0fe92f72b4
(QCfile): Moved to xdisp.c.
...
(syms_of_xfns): Don't initialize QCfile.
(check_x_frame): Change for Lisp_Object selected_frame.
(check_x_display_info, x_get_resource_string): Ditto.
1999-09-13 11:14:14 +00:00
Gerd Moellmann
c0617987c6
(frame_or_selected_frame): Change for Lisp_Object
...
selected_frame.
(Finternal_set_lisp_face_attribute): Ditto.
(Finternal_get_lisp_face_attribute): Ditto.
(Finternal_lisp_face_empty_p): Ditto.
(Fdump_face): Ditto.
1999-09-13 11:14:08 +00:00
Gerd Moellmann
886bd6f211
(QCfile): Move here from xfns.c.
...
(syms_of_xdisp): Initialize it.
(message2_nolog): Change for Lisp_Object selected_frame.
(message3_nolog, message_with_string, message,
setup_echo_area_for_printing, truncate_echo_area,
prepare_menu_bars, redisplay_internal, Fdump_tool_bar_row): Ditto.
1999-09-13 11:13:59 +00:00
Gerd Moellmann
1ae1a37dc5
(Fminibuffer_window): Change for Lisp_Object
...
selected_frame.
(Fwindow_at, Fprevious_window, window_loop, select_window_1,
display_buffer_1, Fdisplay_buffer, temp_output_buffer_show,
Fcurrent_window_configuration, init_window_once): Ditto.
1999-09-13 11:13:55 +00:00
Gerd Moellmann
e52f4e084a
(OUTPUT): Change for Lisp_Object selected_frame.
...
(OUTPUT_IF, ring_bell, set_terminal_modes, reset_terminal_modes,
set_terminal_window, set_scroll_region, reassert_line_highlight,
change_line_highlight, cursor_to, raw_cursor_to, clear_to_end,
clear_end_of_line, clear_end_of_line_raw, clear_end_of_line_raw,
encode_terminal_code, write_glyphs, term_init): Ditto.
1999-09-13 11:13:53 +00:00
Gerd Moellmann
2d0641146f
(reset_sys_modes): Change for Lisp_Object selected_frame.
...
(kbd_input_ast, read_input_waiting): Ditto.
1999-09-13 11:13:50 +00:00
Gerd Moellmann
a4aafc5404
(choose_minibuf_frame): Don't try to set the
...
mini-buffer window's buffer, if the buffer is invalid.
(choose_minibuf_frame): Change for Lisp_Object
selected_frame.
(read_minibuf): Ditto.
1999-09-13 11:13:47 +00:00
Gerd Moellmann
37b793e65b
(selected_frame): Add external declaration.
1999-09-13 11:13:45 +00:00
Gerd Moellmann
788f89eb86
(command_loop_1): Change for Lisp_Object
...
selected_frame.
(cmd_error_internal, command_loop_1, read_char,
kbd_buffer_get_event, read_avail_input,
read_char_minibuf_menu_prompt, read_key_sequence, Fsuspend_emacs,
interrupt_signal, quit_throw_to_read_char): Ditto.
1999-09-13 11:13:36 +00:00
Gerd Moellmann
650afd9463
(SELECTED_FRAME): New.
1999-09-13 11:13:35 +00:00
Gerd Moellmann
8d2666feec
(Fmake_terminal_frame): Use SELECTED_FRAME.
...
(do_switch_frame): Change for Lisp_Object selected_frame.
(Fselected_frame): Ditto.
(Fframe_first_window): Use SELECTED_FRAME.
(Fframe_root_window): Change for Lisp_Object selected_frame.
(Fframe_selected_window, Fset_frame_selected_window, Fnext_frame,
Fprevious_frame, other_visible_frames, Fdelete_frame,
Fmouse_position, Fmouse_pixel_position, Fmake_frame_visible,
Fmake_frame_invisible, Ficonify_frame, Fraise_frame, Flower_frame,
Fframe_parameters, Fmodify_frame_parameters, Fframe_char_height,
Fframe_char_width, Fframe_pixel_height, Fframe_pixel_width,
Fset_frame_height, Fset_frame_width): Ditto.
1999-09-13 11:13:32 +00:00
Gerd Moellmann
18f39d0e20
(Ffont_info): Change for Lisp_Object selected_frame.
...
(Ffontset_info): DItto.
1999-09-13 11:13:31 +00:00
Gerd Moellmann
74c2d1c65d
(handle_USR1_signal): Change for Lisp_Object selected_frame.
1999-09-13 11:13:29 +00:00
Gerd Moellmann
91fb7e1b4a
(selected_frame): Make it a Lisp_Object.
...
(adjust_frame_glyphs_initially): Change for Lisp_Object selected_frame.
(direct_output_for_insert, direct_output_forward_char,
init_display): Ditto.
1999-09-13 11:13:24 +00:00
Gerd Moellmann
1cc04aed1e
(swap_in_symval_forwarding): Change for Lisp_Object
...
selected_frame.
(set_internal): Ditto.
1999-09-13 11:13:22 +00:00
Gerd Moellmann
9ba9623dc3
(Fother_buffer): Change for Lisp_Object selected_frame.
...
(record_buffer): Ditto.
1999-09-13 11:13:16 +00:00
Ken Raeburn
c1d497be70
Use XCAR and XCDR instead of explicit member access.
1999-09-13 03:35:33 +00:00
Ken Raeburn
03699b140e
Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member access.
1999-09-13 02:23:04 +00:00
Gerd Moellmann
926106201f
(Fx_family_fonts): Replaces Fx_font_list.
...
(syms_of_xfaces): Defsubr accordingly.
(lface_from_face_name): Resolve face aliases.
(Qmode_line): Replaces Qmodeline.
(realize_basic_faces): Use Qmode_line.
(syms_of_xfaces): Initialize Qmode_line.
(Qframe_update_face_colors): New.
(syms_of_xfaces): Initialize call.
(update_face_from_frame_parameter): Call that function when
the frame's background changes.
1999-09-12 20:22:02 +00:00