1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00
Commit graph

30915 commits

Author SHA1 Message Date
Paul Eggert
a0238ccadc * sound.c: Use EMACS_INT rather than size_t. 2011-04-15 01:47:25 -07:00
Paul Eggert
3d6c254321 * process.c (send_process): Change a size_t to EMACS_INT. 2011-04-15 01:35:53 -07:00
Paul Eggert
85de188188 * process.c (send_process): Change another size_t to EMACS_INT. 2011-04-15 01:31:40 -07:00
Paul Eggert
9587a89da0 emacs_write: Accept and return EMACS_INT for sizes. 2011-04-15 01:22:34 -07:00
Paul Eggert
4170f62f39 Merge from mainline. 2011-04-15 00:48:51 -07:00
Ben Key
cc39a9dba6 Fix link errors in the Mac OS build that were caused by variables being marked as static that should not have been. 2011-04-14 21:03:43 -05:00
Juanma Barranquero
7990b61a91 src/font.c (Qopentype): Don't make static (used from w32uniscribe.c). 2011-04-15 03:26:32 +02:00
Stefan Monnier
6c60eb9f2c * src/process.c (Qprocessp): Don't declare static.
* src/lisp.h (Qprocessp): Declare again.
2011-04-14 21:58:49 -03:00
Paul Eggert
dd19b04f04 Fix merge typo. 2011-04-14 13:20:17 -07:00
Paul Eggert
8bd7b8304a Merge from mainline. 2011-04-14 13:16:48 -07:00
Paul Eggert
cd64ea1d0d * lisp.h (INFUN): Remove. Suggested by Dan Nicolaescu in
<http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00393.html>.
All uses spelled out.
2011-04-14 12:34:42 -07:00
Andreas Schwab
8b913b570b * fileio.c (Finsert_file_contents): Fix typo in 2005-05-13 change. (Bug#8496) 2011-04-14 09:56:52 +02:00
Paul Eggert
c38bf546b2 Fix typo in previous comment. 2011-04-14 00:09:45 -07:00
Paul Eggert
e3b27b31a8 Don't publish debugger-only interfaces to other modules.
* lisp.h (safe_debug_print, debug_output_compilation_hack):
(verify_bytepos, count_markers): Move decls to the only modules
that need them.
* region-cache.h (pp_cache): Likewise.
* window.h (check_all_windows): Likewise.
* marker.c, print.c, region-cache.c, window.c: Decls moved here.
2011-04-13 23:48:41 -07:00
Paul Eggert
9996870822 * fileio.c: Add FIXMES mentioning Bug#8496. 2011-04-13 23:33:48 -07:00
Paul Eggert
5d4cb038a4 * sysdep.c (croak): Now static, if
defined TIOCNOTTY || defined USG5 || defined CYGWIN.
* syssignal.h (croak): Declare only if not static.
2011-04-13 23:26:22 -07:00
Paul Eggert
69003fd841 2011-04-14 Paul Eggert <eggert@cs.ucla.edu>
* alloc.c (refill_memory_reserve): Now static if
!defined REL_ALLOC || defined SYSTEM_MALLOC.
* lisp.h (refill_memory_reserve): Declare only if not static.
2011-04-13 23:15:53 -07:00
Paul Eggert
a7ca3326c4 Undo the DEFUN->DEFUE change. 2011-04-13 22:04:02 -07:00
Paul Eggert
e87b6180b0 * xsettings.c, xsettings.h (xsettings_get_system_normal_font):
Define only if USE_LUCID.
2011-04-13 20:08:55 -07:00
Paul Eggert
ac64929e09 * xrdb.c (x_customization_string, x_rm_string): Now static. 2011-04-13 20:05:57 -07:00
Paul Eggert
6f37259d32 * xmenu.c (x_menu_wait_for_event): Export only if USE_MOTIF.
* xterm.h (x_menu_wait_for_event): Declare only if USE_MOTIF.
2011-04-13 20:04:14 -07:00
Paul Eggert
1683e3ab56 * xdisp.c (draw_row_with_mouse_face): Now static.
* dispextern.h (draw_row_with_mouse_fave): Remove decl.
2011-04-13 20:01:10 -07:00
Paul Eggert
de9c2632ac * window.h (check_all_windows): Mark externally visible. 2011-04-13 19:58:21 -07:00
Paul Eggert
2b96acb7c0 * window.c (window_deletion_count): Now static.
* undo.c: Make symbols static if they're not exported.
(last_undo_buffer, last_boundary_position, pending_boundary):
Now static.
2011-04-13 19:57:04 -07:00
Paul Eggert
50436f3383 * textprop.c (interval_insert_behind_hooks): Now static.
(interval_insert_in_front_hooks): Likewise.
2011-04-13 19:53:50 -07:00
Paul Eggert
64520e5cf9 * term.c: Make symbols static if they're not exported.
(tty_turn_off_highlight, get_tty_terminal, max_frame_cols):
(max_frame_lines, tty_set_terminal_modes):
(tty_reset_terminal_modes, tty_turn_off_highlight):
(get_tty_terminal): Now static.
(term_mouse_moveto): Do not define if HAVE_WINDOW_SYSTEM.
* termhooks.h (term_mouse_moveto): Do not declare if
HAVE_WINDOW_SYSTEMM.
* dispextern.h (tty_set_terminal_modes, tty_reset_terminal_modes):
(tty_turn_off_highlight, get_tty_terminal): Remove decls.
2011-04-13 19:52:33 -07:00
Paul Eggert
1fa530214b * sysdep.c: Make symbols static if they're not exported.
(emacs_get_tty, emacs_set_tty, old_fcntl_flags, old_fcntl_owner):
Now static.
(sigprocmask_set, full_mask): Remove; unused.
(wait_debugging): Mark as visible.
* syssignal.h (SIGFULLMASK, full_mask): Remove decls.
* systty.h (emacs_get_tty, emacs_set_tty): Remove decls.
2011-04-13 19:38:06 -07:00
Paul Eggert
d4b43b229a * syntax.c (syntax_temp): Define only if !__GNUC__. 2011-04-13 19:27:17 -07:00
Paul Eggert
b7c513d004 * sound.c (current_sound_device, current_sound): Now static. 2011-04-13 19:23:09 -07:00
Paul Eggert
989b29ad22 * search.c (searchbufs, searchbuf_head): Now static. 2011-04-13 19:21:33 -07:00
Paul Eggert
13a55a78d4 * scroll.c (scroll_cost): Remove; unused.
* dispextern.h (scroll_cost): Remove decl.
2011-04-13 19:20:00 -07:00
Paul Eggert
de68a1fc34 * region-cache.h (pp_cache): Mark as externally visible. 2011-04-13 19:17:19 -07:00
Paul Eggert
40ccffa6ff * process.c: Make symbols static if they're not exported.
(process_tick, update_tick, create_process, chan_process):
(Vprocess_alist, proc_buffered_char, datagram_access):
(fd_callback_data, send_process_frame, process_sent_to): Now static.
(deactivate_process): Mark defn as static, as well as decl.
* lisp.h (create_process): Remove decl.
* process.h (chan_process, Vprocess_alist): Remove decls.
2011-04-13 19:16:00 -07:00
Paul Eggert
ad64fc978b * print.c: Make symbols static if they're not exported.
(print_depth, new_backquote_output, being_printed, print_buffer):
(print_buffer_size, print_buffer_pos, print_buffer_pos_byte):
(print_interval, print_number_index, initial_stderr_stream):
Now static.
* lisp.h (Fprinc): Remove decl.
(debug_output_compilation_hack): Mark as externally visible.
2011-04-13 19:04:54 -07:00
Paul Eggert
adddb2655c * sysdep.c (croak): Move decl from here to syssignal.h.
* syssignal.h (croak): Put it here, so the API can be checked when
'croak' is called from dissociate_if_controlling_tty.
2011-04-13 18:57:17 -07:00
Paul Eggert
1717ede2bb * minibuf.c: Make symbols static if they're not exported.
(minibuf_save_list, choose_minibuf_frame): Now static.
* lisp.h (choose_minibuf_frame): Remove decl.
2011-04-13 18:51:24 -07:00
Paul Eggert
fa5fb2bc35 * lisp.h (verify_bytepos, count_markers): Mark as externally visible. 2011-04-13 18:45:28 -07:00
Paul Eggert
1e3890d195 * lread.c: Make symbols static if they're not exported.
(read_objects, initial_obarray, oblookup_last_bucket_number):
Now static.
(make_symbol): Remove; unused.
* lisp.h (initial_obarray, make_symbol): Remove decls.
2011-04-13 18:41:38 -07:00
Paul Eggert
8a1414fa0f * keyboard.c: Make symbols static if they're not exported.
(single_kboard, recent_keys_index, total_keys, recent_keys):
(this_command_key_count_reset, raw_keybuf, raw_keybuf_count):
(this_single_command_key_start, echoing, last_auto_save):
(read_key_sequence_cmd, dribble, recursive_edit_unwind):
(command_loop, echo_now, keyboard_init_hook, help_char_p):
(quit_throw_to_read_char, command_loop_2, top_level_1, poll_timer):
(Vlispy_mouse_stem, double_click_count):
Now static.
(force_auto_save_soon): Define only if SIGDANGER.
(ignore_mouse_drag_p): Now static if
!defined HAVE_WINDOW_SYSTEM || defined USE_GTK || defined HAVE_NS.
(print_help): Remove; unused.
(stop_character, last_timer_event): Mark as externally visible.
* keyboard.h (ignore_mouse_drag_p): Declare only if
defined HAVE_WINDOW_SYSTEM && !defined USE_GTK && !defined HAVE_NS.
(echo_now, help_char_p, quit_throw_to_read_char): Remove decls.
* lisp.h (echoing): Remove decl.
(force_auto_save_soon): Declare only if SIGDANGER.
* xdisp.c (redisplay_window): Simplify code, to make it more
obvious that ignore_mouse_drag_p is not accessed if !defined
USE_GTK && !defined HAVE_NS.
2011-04-13 18:36:53 -07:00
Paul Eggert
93ea6e8fa9 * intervals.c: Make symbols static if they're not exported.
(merge_properties_sticky, merge_interval_right, delete_interval):
Now static.
* intervals.h (merge_interval_right, delete_interval): Remove decls.
2011-04-13 17:55:09 -07:00
Paul Eggert
4889fc82cf * insdel.c (signal_before_change): Now static. 2011-04-13 17:49:57 -07:00
Paul Eggert
77382fcc33 * insdel.c: Make symbols static if they're not exported.
However, leave prepare_to_modify_buffer alone.  It's never
called from outside this function, but that appears to be a bug.
(combine_after_change_list, combine_after_change_buffer):
(adjust_after_replace): Now static.
(adjust_after_replace_noundo): Remove; unused.
* lisp.h (adjust_after_replace, adjust_after_replace_noundo):
Remove decls.
2011-04-13 17:44:47 -07:00
Paul Eggert
9306c32edb * indent.c (val_compute_motion, val_vmotion): Now static. 2011-04-13 17:42:10 -07:00
Paul Eggert
cd44d2ebb4 * image.c: Make symbols static if they're not exported.
* dispextern.h (x_create_bitmap_from_xpm_data): Do not declare
if USE_GTK.
* image.c (x_create_bitmap_from_xpm_data): Do not define if USE_GTK.
(xpm_color_cache, ct_table, ct_colors_allocated): Now static.
2011-04-13 16:44:57 -07:00
Paul Eggert
ad9a7a06d4 * fringe.c (standard_bitmaps): Now static.
(max_used_fringe_bitmap): Now static, unless HAVE_NS.
2011-04-13 16:38:13 -07:00
Paul Eggert
816269316f * frame.c: Make symbols static if they're not exported.
(x_report_frame_params, make_terminal_frame): Now static.
(get_frame_param): Now static, unless HAVE_NS.
(x_fullscreen_adjust): Define if WINDOWSNT, not if HAVE_WINDOW_SYSTEM.
(x_get_resource_string): Remove; not used.
* frame.h (make_terminal_frame, x_report_frame_params):
(x_get_resource_string); Remove decls.
(x_fullscreen_adjust): Declare only if WINDOWSNT.
* lisp.h (get_frame_param): Declare only if HAVE_NS.
2011-04-13 16:35:33 -07:00
Paul Eggert
239f9db960 * font.c, fontset.c: Make symbols static if they're not exported.
* dispextern.h (FACE_SUITABLE_FOR_ASCII_CHAR_P): New macro.
(FACE_SUITABLE_FOR_CHAR_P): Use it.
* font.c (font_close_object): Now static.
* font.h (font_close_object): Remove.
* fontset.c (FONTSET_OBJLIST): Remove.
(free_realized_fontset) #if-0 the body, which does nothing.
(face_suitable_for_char_p): #if-0, as it's never called.
* fontset.h (face_suitable_for_char_p): Remove decl.
* xfaces.c (face_at_string_position): Use
FACE_SUITABLE_FOR_ASCII_CHAR_P, not FACE_SUITABLE_FOR_CHAR_P,
since 0 is always ASCII.
2011-04-13 16:22:35 -07:00
Paul Eggert
dfcf357982 * fns.c (weak_hash_tables): Now static. 2011-04-13 16:02:03 -07:00
Paul Eggert
5045092bb4 * fileio.c: Make symbols static if they're not exported.
(auto_saving, auto_save_mode_bits, auto_save_error_occurred):
(Vwrite_region_annotation_buffers): Now static.
2011-04-13 15:57:17 -07:00
Paul Eggert
57a96f5c91 * eval.c: Make symbols static if they're not exported.
(backtrace_list, lisp_eval_depth, when_entered_debugger): Now static.
* lisp.h (backtrace_list): Remove decl.
2011-04-13 15:53:58 -07:00