1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-30 11:09:23 +00:00
Commit Graph

99984 Commits

Author SHA1 Message Date
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
Juanma Barranquero
49093f601b lisp/loadup.el: Use string-to-number', not string-to-int'. 2011-04-15 05:15:22 +02: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
Stefan Monnier
b5b8e7de51 * lisp/progmodes/gud.el (gud-gdb): Use completion-at-point instead of
gud-gdb-complete-command.
(gud-gdb-completions): New function, from gud-gdb-complete-command.
(gud-gdb-completion-at-point): New function.
(gud-gdb-completions): Remove.
2011-04-14 22:44:00 -03: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
Michael Albinus
9024ff7943 * tramp.texi (Frequently Asked Questions): New item for disabling
Tramp in other packages.
2011-04-14 21:04:08 +02:00
Michael Albinus
f42efeb543 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the
case when the scripts fail.  Use `tramp-do-file-attributes-with-ls'
then.
(tramp-do-copy-or-rename-file-out-of-band): Do not check any
longer, whether`executable-find' is bound.

* net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2011-04-14 20:58:45 +02:00
Katsumi Yamaoka
54a8f33734 Fix typos in the last change in gnus-registry docs. 2011-04-14 12:43:49 +00:00
Teodor Zlatanov
c3c65d735b gnus.texi (nnmairix caveats, Setup, Registry Article Refer Method)
(Fancy splitting to parent, Store arbitrary data): Updated gnus-registry docs.
gnus-registry.el: Updated gnus-registry docs.
2011-04-14 10:41:00 +00: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
Stefan Monnier
e240cc2188 * lisp/minibuffer.el (completion-in-region-mode-predicate)
(completion-in-region-mode--predicate): New vars.
(completion-in-region, completion-in-region--postch)
(completion-in-region-mode): Use them.
(completion--capf-wrapper): Also return the hook function.
(completion-at-point, completion-help-at-point):
Adjust and provide a predicate.
2011-04-13 21:16:11 -03: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