Paul Eggert
40ef059ee2
* insdel.c (copy_text): Remove unused local var.
2011-03-14 18:26:16 -07:00
Paul Eggert
f0cb4a6079
* insdel.c (CHECK_MARKERS): Redo to avoid gcc -Wempty-body diagnostic.
2011-03-14 18:25:31 -07:00
Paul Eggert
85876d0794
* insdel.c (check_markers, make_gap_larger, make_gap_smaller):
...
(reset_var_on_error, Fcombine_after_change_execute_1): Now static.
2011-03-14 18:22:56 -07:00
Paul Eggert
b3dd38aba9
* filelock.c (lock_file_1): Rename local to avoid shadowing.
2011-03-14 18:19:50 -07:00
Paul Eggert
03d78a21be
* filelock.c (within_one_second): Now static.
2011-03-14 18:16:59 -07:00
Paul Eggert
5df8f01bab
* buffer.c (fix_overlays_before): Mark locals as initialized.
...
(fix_start_end_in_overlays): Likewise. This function should be
simplified by using pointers-to-pointers, but that's a different
matter.
2011-03-14 18:15:56 -07:00
Paul Eggert
8f54f30aec
* buffer.c: (Fkill_buffer, record_buffer, Fbury_buffer, Fset_buffer_multibyte):
...
(report_overlay_modification): Rename locals to avoid shadowing.
2011-03-14 16:43:16 -07:00
Paul Eggert
c3bd59b510
* buffer.c (switch_to_buffer_1): Now static.
2011-03-14 16:32:27 -07:00
Paul Eggert
15dfd3d9d6
* sysdep.c (MAXPATHLEN): Define only if needed.
2011-03-14 16:31:21 -07:00
Paul Eggert
edced198e3
* sysdep.c (sys_subshell): Mark local as volatile if checking for lint,
...
to suppress a gcc -Wclobbered warning that does not seem to be right.
2011-03-14 16:30:06 -07:00
Paul Eggert
fbd02d7b06
* sysdep.c: Fix pointer signedness issue.
2011-03-14 15:56:24 -07:00
Paul Eggert
a70072c9a5
* sysdep.c (system_process_attributes): Rename vars to avoid shadowing.
2011-03-14 15:52:28 -07:00
Paul Eggert
a0977c4454
* process.c (serial_open, serial_configure): Move decls from here ...
...
* systty.h: ... to here, so that they can be checked.
2011-03-14 15:49:41 -07:00
Paul Eggert
a884fdcc41
* fns.c (get_random, seed_random): Move extern decls from here ...
...
* lisp.h: ... to here, so that they can be checked.
2011-03-14 15:42:10 -07:00
Paul Eggert
b8950c9480
* sysdep.c (wait_for_termination_signal): Remove; unused.
2011-03-14 15:37:08 -07:00
Paul Eggert
604efe86a9
* sysdep.c (reset_io): Now static.
2011-03-14 15:36:12 -07:00
Paul Eggert
c1141155ba
* keymap.c: (get_keymap, access_keymap, Fdefine_key, Fwhere_is_internal):
...
(describe_map_tree):
Rename locals to avoid shadowing.
2011-03-14 08:53:19 -07:00
Paul Eggert
dbbb842771
* keymap.c (DENSE_TABLE_SIZE): Remove; unused.
2011-03-14 08:42:21 -07:00
Paul Eggert
1004a21a8f
* keymap.c (Fwhere_is_internal): Don't test CONSP (sequences) unnecessarily.
2011-03-14 08:40:57 -07:00
Paul Eggert
38fc62d95a
* keymap.c (keymap_parent, keymap_memberp, map_keymap_internal):
...
(copy_keymap_item, append_key, push_text_char_description):
Now static.
2011-03-14 08:32:56 -07:00
Paul Eggert
c8a06054fc
* keyboard.c (read_char): Mark local as initialized.
2011-03-14 08:28:09 -07:00
Paul Eggert
3ac946723d
* keyboard.c (Fexit_recursive_edit, Fabort_recursive_edit): Mark with NO_RETURN.
2011-03-14 08:25:21 -07:00
Paul Eggert
560a553af5
* keyboard.c (read_key_sequence): Mark locals as initialized.
2011-03-14 08:19:28 -07:00
Paul Eggert
69a058fab1
* keyboard.c: (read_char, kbd_buffer_get_event, make_lispy_position):
...
(make_lispy_event, make_lispy_movement, apply_modifiers):
(decode_keyboard_code, tty_read_avail_input, menu_bar_items):
(parse_tool_bar_item, read_key_sequence, Fread_key_sequence):
(Fread_key_sequence_vector): Rename locals to avoid shadowing.
2011-03-14 08:15:30 -07:00
Paul Eggert
da2f2dd9c2
* keyboard.h (mark_kboards): Move decl here ...
...
* alloc.c (mark_kboards): ... from here.
2011-03-13 22:55:38 -07:00
Paul Eggert
2f2650daaa
* keyboard.c: Declare functions static if they are not used elsewhere.
...
(echo_char, echo_dash, cmd_error, top_level_2):
(poll_for_input, handle_async_input): Now static.
2011-03-13 22:51:17 -07:00
Paul Eggert
a053e86cc5
* keyboard.h (make_ctrl_char): New decl.
2011-03-13 22:49:51 -07:00
Paul Eggert
4752793e22
* lisp.h (force_auto_save_soon): New decl.
2011-03-13 22:48:15 -07:00
Paul Eggert
c03cd23f45
* emacs.c (main): Add casts to avoid warnings
...
if GCC considers string literals to be constants.
2011-03-13 22:36:36 -07:00
Paul Eggert
244fc23d16
* emacs.c (DEFINE_DUMMY_FUNCTION): New macro.
...
(__do_global_ctors, __do_global_ctors_aux, __do_global_dtors, __main):
Use it.
2011-03-13 20:49:40 -07:00
Paul Eggert
74f10ca71b
* emacs.c (init_cmdargs): Rename local to avoid shadowing.
2011-03-13 20:43:36 -07:00
Paul Eggert
603935076c
Rewrite to avoid "/*" in comment.
2011-03-13 20:35:14 -07:00
Paul Eggert
022e70d41f
* lisp.h (fatal_error_signal): Add decl, since it's exported.
2011-03-13 20:31:16 -07:00
Paul Eggert
49cebccaa7
* dbusbind.c (Fdbus_register_service, Fdbus_register_method): Remove unused vars.
2011-03-13 20:25:51 -07:00
Paul Eggert
78320123c1
* dbusbind.c (Fdbus_init_bus): Add cast to avoid warning
...
if GCC considers string literals to be constants.
2011-03-13 20:23:23 -07:00
Paul Eggert
59d6fe8344
* dbusbind.c: Pointer signedness fixes.
...
(xd_signature, xd_append_arg, xd_initialize):
(Fdbus_call_method, Fdbus_call_method_asynchronously):
(Fdbus_method_return_internal, Fdbus_method_error_internal):
(Fdbus_send_signal, xd_read_message_1, Fdbus_register_service):
(Fdbus_register_signal): Use SSDATA when the context wants char *.
2011-03-13 20:21:32 -07:00
Chong Yidong
cffc6f3bd9
Fix BUF_* macros to handle indirect buffers properly (Bug#8219).
...
* buffer.h (BUF_BEGV, BUF_BEGV_BYTE, BUF_ZV, BUF_ZV_BYTE, BUF_PT)
(BUF_PT_BYTE): Rewrite to handle indirect buffers (Bug#8219).
These macros can no longer be used for assignment.
* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Assign
struct members directly, instead of using BUF_BEGV etc.
(record_buffer_markers, fetch_buffer_markers): New functions for
recording and fetching special buffer markers.
(set_buffer_internal_1, set_buffer_temp): Use them.
* lread.c (unreadchar): Use SET_BUF_PT_BOTH.
* insdel.c (adjust_point): Use SET_BUF_PT_BOTH.
* intervals.c (temp_set_point_both): Use SET_BUF_PT_BOTH.
(get_local_map): Use SET_BUF_BEGV_BOTH and SET_BUF_ZV_BOTH.
* xdisp.c (hscroll_window_tree):
(reconsider_clip_changes): Use PT instead of BUF_PT.
2011-03-13 18:25:16 -04:00
Ted Zlatanov
eebc475df5
Add `auth-source-search' integration for LDAP searches.
...
* net/ldap.el (ldap-search-internal): Add `auth-source-search'
integration for LDAP parameters. The host, base, user or binddn,
and secret tokens can be specified in a netrc file, for instance.
This is optional because an `auth-source' parameter must be
specified in the search attributes.
2011-03-13 17:17:17 -05:00
Teodor Zlatanov
67613d3160
auth-source.el (auth-source-netrc-create): Show the default in the prompt when prompting for token creation.
2011-03-13 20:50:07 +00:00
Eli Zaretskii
d251f04bea
MS-Windows followup for 2011-03-13T06:43:00Z!eggert@cs.ucla.edu.
...
src/makefile.w32-in ($(BLD)/editfns.$(O)): Depend on
$(EMACS_ROOT)/lib/intprops.h.
2011-03-13 19:49:38 +02:00
Paul Eggert
1ef6de0565
Update for gnulib, adding Solaris 9+10 fixes.
2011-03-13 10:39:04 -07:00
Paul Eggert
3eca462920
Merge from mainline.
2011-03-13 10:28:15 -07:00
Paul Eggert
01e0b5adf4
* gtkutil.c (gdk_window_get_screen): Make it clear that this macro is needed
...
only if USE_GTK_TOOLTIP.
2011-03-13 00:42:12 -08:00
Paul Eggert
65dc836c9e
* gtkutil.c: (get_utf8_string, xg_get_file_with_chooser):
...
Rename locals to avoid shadowing.
(create_dialog): Move locals to avoid shadowing.
2011-03-13 00:39:13 -08:00
Paul Eggert
1e5524e7cf
* gtkutil.c (int_gtk_range_get_value): New function, which avoids a diagnostic
...
from gcc -Wbad-function-cast.
(xg_set_toolkit_scroll_bar_thumb): Use it.
(xg_tool_bar_callback, xg_tool_item_stale_p): Rewrite to avoid
diagnostic from gcc -Wbad-function-cast.
2011-03-13 00:31:16 -08:00
Paul Eggert
b0afc268e8
* gtkutil.c (xg_free_frame_widgets): Make it clear that a local variable is
...
needed only if USE_GTK_TOOLTIP.
2011-03-13 00:15:55 -08:00
Paul Eggert
7c86ee9804
* gtkutil.c (xg_get_pixbuf_from_pixmap): Add cast from char *
...
to unsigned char * to avoid compiler diagnostic.
2011-03-13 00:14:30 -08:00
Paul Eggert
41729b81ac
* xgselect.c (xg_select): Remove unused var.
2011-03-13 00:05:40 -08:00
Paul Eggert
ec6cf4c6ff
* image.c (my_png_error, my_error_exit): Mark with NO_RETURN.
2011-03-13 00:04:44 -08:00
Paul Eggert
f0c77cd1b2
* image.c (four_corners_best): Mark locals as initialized.
...
(gif_load): Initialize transparent_p to zero (Bug#8238).
Mark another local as initialized.
2011-03-12 23:50:17 -08:00