Eli Zaretskii
6b657e423e
(kbd_buffer_get_event): Return Qnil when current time is exactly equal to
...
end_time, not only when it is past that.
2006-08-05 12:00:32 +00:00
Chong Yidong
42ec1561cf
* process.c: Reapply 2006-08-01 change.
2006-08-05 01:38:42 +00:00
Chong Yidong
092869b973
* keyboard.c (read_char): Rebalance specpdl after receiving jump.
2006-08-05 01:38:21 +00:00
Eli Zaretskii
3046c3f924
(w32_query_font): Fix last change: use stricmp.
2006-08-04 17:22:18 +00:00
Stefan Monnier
0f2e2a3bbc
(Fsubst_char_in_region): Redo the setup work after running
...
the before-change-functions since they may have altered the buffer.
2006-08-04 15:22:09 +00:00
Eli Zaretskii
316a275a1e
*** empty log message ***
2006-08-04 11:43:45 +00:00
Eli Zaretskii
df70725f7a
(w32_createwindow): Handle -geometry command line option and the geometry
...
settings in the Registry.
2006-08-04 11:36:02 +00:00
Kenichi Handa
6f64cebf16
(w32_query_font): Compare names by ignoring case.
2006-08-04 02:50:10 +00:00
Kenichi Handa
ef8f7cddb3
*** empty log message ***
2006-08-04 01:49:05 +00:00
Kenichi Handa
dc3ca1078f
(x_query_font): Compare names by ignoring case.
2006-08-04 01:41:14 +00:00
Jason Rumney
f3e0a6de08
(w32_menu_show, w32_dialog_show): Call Fsignal to quit
...
when no option selected except when for_click.
2006-08-03 22:08:09 +00:00
Chong Yidong
d634a67054
* process.c: Revert last change.
2006-08-03 15:19:20 +00:00
Kim F. Storm
2beb96f9cc
(wait_reading_process_output_unwind): New function.
...
Restores waiting_for_user_input_p to saved value.
(wait_reading_process_output): Unwind protect waiting_for_user_input_p
instead of save/restore old value on stack.
2006-08-01 00:13:08 +00:00
Kim F. Storm
0885202f72
*** empty log message ***
2006-08-01 00:12:55 +00:00
Thien-Thi Nguyen
0f42ea765f
*** empty log message ***
2006-07-30 12:45:36 +00:00
Thien-Thi Nguyen
f554db0f96
Undo 2006-06-28 change.
2006-07-30 12:43:09 +00:00
Richard M. Stallman
4f213bd48d
Comment change.
2006-07-29 22:03:14 +00:00
Eli Zaretskii
cfb37af8b1
*** empty log message ***
2006-07-29 11:20:42 +00:00
Eli Zaretskii
0ef973bb13
(Ffind_operation_coding_system): Revert the change from 2006-05-29.
2006-07-29 10:59:50 +00:00
Eli Zaretskii
69666f776a
[WINDOWSNT]: Include fcntl.h, to fix last change.
2006-07-29 10:18:48 +00:00
Richard M. Stallman
0de8dcc977
*** empty log message ***
2006-07-29 02:27:00 +00:00
Richard M. Stallman
418ca4d22a
(lookup_named_face, Fdisplay_supports_face_attributes_p):
...
Add conditional aborts for clarity.
2006-07-29 01:57:38 +00:00
Richard M. Stallman
9e62c96292
(update_menu_bar): New arg HOOKS_RUN. Callers changed.
...
Used to avoid running the hooks over and over for each frame.
(prepare_menu_bars): Pass value from update_menu_bar as HOOKS_RUN of next call.
2006-07-29 01:56:35 +00:00
Richard M. Stallman
5e093f4432
(safe_run_hooks_1): Don't crash if Vrun_hooks is nil.
2006-07-29 01:54:16 +00:00
Richard M. Stallman
69b9efaa09
Whitespace change.
2006-07-29 01:53:31 +00:00
Kim F. Storm
7ffb6955ce
(valid_pointer_p): New function (from valid_lisp_object_p).
...
(valid_lisp_object_p): Use it to check for valid SUBRP obj.
2006-07-28 11:12:23 +00:00
Kim F. Storm
4dbdb9eb93
*** empty log message ***
2006-07-28 11:11:51 +00:00
Chong Yidong
2f1950bfb6
* keyboard.c (read_char): New arg END_TIME specifying timeout.
...
All callers changed. Turn off echoing if END_TIME is non-NULL.
(kbd_buffer_get_event): New arg END_TIME.
* lread.c (read_filtered_event): New arg SECONDS to wait until.
(Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS.
* lisp.h: Update read-char, read-event, and read_filtered_event
prototypes.
* keyboard.h: Include systime.h. Update read_char prototype.
2006-07-26 18:16:32 +00:00
Chong Yidong
d5f1215543
(Fy_or_n_p): Change call to read_filtered_event to use new arg.
2006-07-26 18:16:14 +00:00
Chong Yidong
43811b4e74
Change callers of read_char.
2006-07-26 18:15:08 +00:00
Chong Yidong
4392dfe315
* keyboard.h: Include systime.h. Update read_char prototype.
2006-07-26 18:14:16 +00:00
Chong Yidong
0601ad0f12
* lisp.h: Update read-char, read-event, and read_filtered_event
...
prototypes.
2006-07-26 18:14:05 +00:00
Chong Yidong
50e48299ca
* lread.c (read_filtered_event): New arg SECONDS to wait until.
...
(Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS.
2006-07-26 18:13:49 +00:00
Chong Yidong
179f689c0a
* keyboard.c (read_char): New arg END_TIME specifying timeout.
...
All callers changed. Turn off echoing if END_TIME is non-NULL.
(kbd_buffer_get_event): New arg END_TIME.
2006-07-26 18:13:33 +00:00
YAMAMOTO Mitsuharu
55a905016c
(BASE_PURESIZE): Decrease to 1102000.
2006-07-25 10:10:41 +00:00
YAMAMOTO Mitsuharu
79fd0489dd
(find_string_data_in_pure): New function.
...
(make_pure_string): Use it to reuse existing string data if possible.
2006-07-25 10:10:19 +00:00
Stefan Monnier
2db8f17387
(Fdefine_key): If the key binding definition looks like an
...
XEmacs-style key sequence, convert it to Emacs's format.
2006-07-22 21:22:52 +00:00
Eli Zaretskii
272f22ebb0
*** empty log message ***
2006-07-22 11:32:46 +00:00
Eli Zaretskii
48b62d105b
(w32_createwindow): If left' and/or top' frame parameters are bound to some
...
values, use that instead of CW_USEDEFAULT.
2006-07-22 11:31:55 +00:00
Eli Zaretskii
69b72317ae
(convert_time): Use explicit long double constants to ensure long double
...
arithmetics is used throughout.
2006-07-21 17:28:23 +00:00
YAMAMOTO Mitsuharu
14eee5020b
*** empty log message ***
2006-07-20 01:01:40 +00:00
YAMAMOTO Mitsuharu
8579fe482e
(BASE_PURESIZE): Decrease to 1141000.
2006-07-20 01:01:18 +00:00
YAMAMOTO Mitsuharu
e5bc14d4b6
(pure_bytes_used_lisp, pure_bytes_used_non_lisp): New vars.
...
(init_alloc_once): Initialize them.
(pure_alloc): Allocate non-Lisp objects from the end of pure storage
without alignment.
2006-07-20 01:01:04 +00:00
Kim F. Storm
83676aa2e3
(x_calc_absolute_position): Fix frame positioning
...
with negative X/Y coordinates.
From Francis Litterio <franl@world.std.com>
2006-07-18 23:04:12 +00:00
Kim F. Storm
eeeda6f14d
*** empty log message ***
2006-07-18 23:03:17 +00:00
Dan Nicolaescu
2381d38d0a
* ebrowse.c (usage, version): Mark as NO_RETURN.
...
* emacsclient.c (print_help_and_exit): Likewise.
* xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
* textprop.c (text_read_only): Likewise.
* lread.c (end_of_file_error): Likewise.
* lisp.h (circular_list_error, memory_full, buffer_memory_full):
Likewise.
* eval.c (unwind_to_catch): Likewise.
* buffer.h (buffer_slot_type_mismatch): Likewise.
2006-07-18 16:33:45 +00:00
Kim F. Storm
5b5fca2805
*** empty log message ***
2006-07-18 14:06:39 +00:00
Kim F. Storm
4d30ce50e9
(x_get_local_selection, copy_multiple_data)
...
(x_get_window_property_as_lisp_data)
(lisp_data_to_selection_data, CHECK_CUT_BUFFER)
(Fx_get_cut_buffer_internal): Use signal_error.
2006-07-18 13:30:20 +00:00
Kim F. Storm
93217cef09
(x_decode_color): Use signal_error.
2006-07-18 13:30:13 +00:00
Kim F. Storm
8009eb445e
* xfaces.c (signal_error): Move to eval.c.
...
(resolve_face_name): Use xsignal1.
2006-07-18 13:30:04 +00:00
Kim F. Storm
ba96a5cfd4
(window_scroll_pixel_based, window_scroll_line_based):
...
Use xsignal0.
2006-07-18 13:29:55 +00:00
Kim F. Storm
dbfcf224ac
(unexec): Use xsignal.
2006-07-18 13:29:49 +00:00
Kim F. Storm
d0a29e1de7
(text_read_only): Use xsignal0, xsignal1.
2006-07-18 13:29:40 +00:00
Kim F. Storm
9471945bad
(scan_lists): Use xsignal3.
2006-07-18 13:29:00 +00:00
Kim F. Storm
06f77a8a2f
(compile_pattern_1): Use xsignal1.
...
(signal_failure): Remove (was only called once).
(search_command): Use xsignal1 instead of signal_failure.
2006-07-18 13:28:53 +00:00
Kim F. Storm
ebe061ca4d
(Fmsdos_set_mouse_buttons): Use xsignal2.
2006-07-18 13:28:45 +00:00
Kim F. Storm
4ae7943dc6
(x_get_local_selection): Use signal_error.
2006-07-18 13:28:39 +00:00
Kim F. Storm
336d4a9c4f
(Fload): Use xsignal2, signal_error.
...
(end_of_file_error): Use xsignal0, xsignal1.
(read0): Use xsignal1.
(invalid_syntax): New error function marked no-return.
(read_integer, read1, read_list): Use it.
2006-07-18 13:28:34 +00:00
Kim F. Storm
7e85c1aa4d
(list1): Add EXFUN.
...
(xsignal, xsignal0, xsignal1, xsignal2, xsignal3, signal_error):
Add prototypes. Mark them as no-return.
2006-07-18 13:28:28 +00:00
Kim F. Storm
fb53f3543b
(Fmap_keymap): Use xsignal1.
2006-07-18 13:28:21 +00:00
Kim F. Storm
43cae48c41
(recursive_edit_1): Use xsignal1.
2006-07-18 13:28:16 +00:00
Kim F. Storm
9dc9518716
(x_set_line_spacing, x_set_screen_gamma): Use signal_error.
2006-07-18 13:28:09 +00:00
Kim F. Storm
692ae65c86
(Flength): wrong_type_argument is no-return.
...
(hashfn_user_defined, Fmake_hash_table): Use signal_error.
(Fmd5): Use xsignal1.
2006-07-18 13:28:02 +00:00
Kim F. Storm
edef16312e
(arith_error, range_error, domain_error): Use xsignal2.
...
(range_error2, domain_error2): Use xsignal3.
(rounding_driver, fmod_float): Use xsignal0.
(float_error): Use xsignal1.
(matherr): Use xsignal.
2006-07-18 13:27:54 +00:00
Kim F. Storm
24b1ddad0b
(report_file_error): Use xsignal.
...
(barf_or_query_if_file_exists, Fcopy_file, Fdelete_file)
(Finsert_file_contents): Use xsignal2.
(syms_of_fileio): Use list2, list3.
2006-07-18 13:27:48 +00:00
Kim F. Storm
734d55a2bd
* eval.c (xsignal): New func. Like Fsignal, but marked no-return.
...
(xsignal0, xsignal1, xsignal2, xsignal3): New no-return functions.
(signal_error): New no-return function (from xfaces.c).
(Fthrow): Use xsignal2 instead of Fsignal + abort.
(error): Use xsignal1 instead of Fsignal + abort.
(FletX, Flet, grow_specpdl): Use signal_error.
(Feval, Ffuncall, funcall_lambda): Use xsignal1, xsignal2.
* xfaces.c (signal_error): Move to eval.c.
(resolve_face_name): Use xsignal1.
2006-07-18 13:26:38 +00:00
Kim F. Storm
8a0ff74421
(region_limit, Fget_internal_run_time): Use xsignal0.
2006-07-18 13:26:30 +00:00
Kim F. Storm
2f0a47f918
(Fdocumentation): Use xsignal1.
2006-07-18 13:26:24 +00:00
Kim F. Storm
740ef0b525
(circular_list_error): Use xsignal.
...
(wrong_type_argument): Use xsignal2. Don't care about return value.
(args_out_of_range, args_out_of_range_3): Use xsignal2, xsignal3.
Remove loop around Fsignal.
(indirect_variable, Fsymbol_value, set_internal, Fdefault_value)
(indirect_function, Findirect_function, Fstring_to_number)
(Fmakunbound, Ffmakunbound, Fsymbol_function, Ffset): Use xsignal1.
(arith_driver, float_arith_driver, Frem, Fmod, arith_error):
Use xsignal0.
2006-07-18 13:26:19 +00:00
Kim F. Storm
fcad4ec4e9
(Fcheck_coding_system): Use xsignal1. Remove loop.
...
(Fdefine_coding_system_internal): Use xsignal1.
2006-07-18 13:26:12 +00:00
Kim F. Storm
aaf769f15a
(Fforward_char, Fdelete_char): Use xsignal0.
2006-07-18 13:26:05 +00:00
Kim F. Storm
ddc4cc7794
(casify_object): wrong_type_argument is no-return.
2006-07-18 13:26:00 +00:00
Kim F. Storm
f439241f58
(check_mark): Use xsignal0.
2006-07-18 13:25:53 +00:00
Kim F. Storm
4c4dc0b09b
(Fbuffer_local_value, Fbarf_if_buffer_read_only):
...
Use xsignal1.
2006-07-18 13:25:47 +00:00
Kim F. Storm
9b306d3759
(buffer_memory_full, memory_full): Use xsignal. Remove loop.
...
(list1): New function.
2006-07-18 13:25:40 +00:00
YAMAMOTO Mitsuharu
d3f31bc589
(XTread_socket): Undo previous change.
2006-07-18 08:12:51 +00:00
YAMAMOTO Mitsuharu
1e53bd0e79
(keycode_to_xkeysym): Remove function. All uses now
...
directly lookup keycode_to_xkeysym_table.
[USE_MAC_TSM] (mac_handle_text_input_event): Don't construct
ASCII_KEYSTROKE_EVENT for non-zero keycode_to_xkeysym_table entries.
(XTread_socket): Use character codes to construct keypad key events.
(mac_initialize_display_info) [MAC_OSX]: Use CGDisplaySamplesPerPixel.
(x_delete_display): Apply 2006-07-04 change for xterm.c.
2006-07-18 03:00:19 +00:00
Richard M. Stallman
7ab56fea8a
Comment change.
2006-07-17 21:07:55 +00:00
Richard M. Stallman
04d8c47ded
(Vcommand_error_function): New variable.
...
(syms_of_keyboard): Defvar it.
(cmd_error_internal): Simplify, and handle Vcommand_error_function.
2006-07-17 21:00:58 +00:00
Richard M. Stallman
b9e590fc95
Fix previous change.
2006-07-17 21:00:08 +00:00
Richard M. Stallman
5d12ff0bed
(init_display): Mention DISPLAY as well as TERM in err msg.
2006-07-17 20:59:18 +00:00
Kim F. Storm
062e20358f
(handle_single_display_spec): Ensure the right value of
...
it->position is saved by push_it.
(pop_it): Restore it->object for GET_FROM_BUFFER and GET_FROM_STRING.
(reseat_1): Don't setup it->object twice.
(set_iterator_to_next): No need to set it->object after pop_it.
(move_it_to): Explicitly check to see if last move reached to_charpos.
2006-07-17 14:25:05 +00:00
Kim F. Storm
55dc982c6c
*** empty log message ***
2006-07-17 14:24:50 +00:00
Thien-Thi Nguyen
ce7d5efe33
(display_mode_line): Preserve match data.
2006-07-17 07:47:41 +00:00
Kim F. Storm
d753d9b7ad
*** empty log message ***
2006-07-14 15:04:08 +00:00
Kim F. Storm
f9125cde75
(reader_thread): Use _sys_wait_accept to wait on a
...
server socket (FILE_LISTEN flag).
2006-07-14 14:18:52 +00:00
Kim F. Storm
c8b6788004
(_sys_read_ahead, _sys_wait_accept): Add prototypes.
2006-07-14 14:18:44 +00:00
Kim F. Storm
64570b36c5
(pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs.
...
(init_winsock): Load them. Use ws2_32.dll.
(sys_listen): Undo last change. Just set FILE_LISTEN flag.
(sys_accept): Undo last change. Instead, set child status to
STATUS_READ_ACKNOWLEDGED and reset char_avail event so next
sys_select will wakeup the reader thread.
(_sys_wait_accept): New function used by reader thread to wait for
an incoming connection on a server socket.
2006-07-14 14:18:40 +00:00
Jan Djärv
dcc881213c
* sound.c (alsa_init): Call snd_pcm_close after successful snd_pcm_open.
2006-07-14 09:47:45 +00:00
Kim F. Storm
8a8476f984
*** empty log message ***
2006-07-14 09:32:02 +00:00
Kim F. Storm
26fb7bc422
Fix high cpu load for server sockets.
...
(pfn_WSAEventSelect): New function ptr.
(init_winsock): Load it.
(sys_listen): Set FILE_LISTEN flag. Set event mask for socket's
char_avail event object to FD_ACCEPT.
(sys_accept): Check FILE_LISTEN flag. Set event mask on new
socket's char_avail event object to FD_READ|FD_CLOSE.
2006-07-14 09:29:32 +00:00
Kim F. Storm
d18f316eff
(FILE_LISTEN): New filedesc flag value.
2006-07-14 09:29:22 +00:00
Kim F. Storm
8788120ff4
(Fthrow): Remove loop around Fsignal.
...
(Feval, Fapply, Ffuncall): Optimize for no function indirection.
Use original function name in all signaled errors.
Simplify Fsignal calls (no return).
(funcall_lambda): Simplify Fsignal calls (no return).
2006-07-13 13:43:50 +00:00
Kim F. Storm
64de53d81b
(Findirect_function): Optimize for no indirection.
2006-07-13 13:43:44 +00:00
Kim F. Storm
14c5155a18
(Fbyte_code): Use CAR, CDR for Bcar, Bcdr.
...
Use CAR_SAFE, CDR_SAFE for Bcar_safe, Bcdr_safe.
Simplify loops and use CAR for Bnth and Belt.
2006-07-13 13:43:38 +00:00
Kim F. Storm
f3500bbee1
*** empty log message ***
2006-07-13 13:43:26 +00:00
Andreas Schwab
60c86a8342
(scan_sexps_forward): Use EMACS_INT for out_bytepos and
...
out_charpos.
2006-07-13 11:44:10 +00:00
Kenichi Handa
d40ec4a023
(Fformat): Fix calculation of text property positions
...
of format string.
2006-07-13 06:06:45 +00:00
Romain Francoise
68ade564b2
Formatting fixes.
2006-07-12 17:25:38 +00:00
Kim F. Storm
e55deb0b2c
*** empty log message ***
2006-07-12 13:22:36 +00:00
Kim F. Storm
d5ddd1a304
(load_pixmap): Use CHECK_TYPE.
2006-07-12 13:22:10 +00:00
Kim F. Storm
663fbbba4d
(Fwindow_configuration_frame, Fset_window_configuration):
...
(compare_window_configurations): Use CHECK_WINDOW_CONFIGURATION.
2006-07-12 13:22:00 +00:00
Kim F. Storm
47f5f6ae55
(check_syntax_table): Use CHECK_TYPE.
2006-07-12 13:21:51 +00:00
Kim F. Storm
ca29b4169d
(sun_item_create): Use CHECK_LIST_CONS.
2006-07-12 13:21:39 +00:00
Kim F. Storm
29100ceab8
(Fset_match_data): Use CHECK_LIST.
2006-07-12 13:20:32 +00:00
Kim F. Storm
0b4331b7bf
(Fcopy_marker): Use CHECK_TYPE.
2006-07-12 13:19:54 +00:00
Kim F. Storm
d76592ae11
(Fstart_kbd_macro): Use CHECK_VECTOR_OR_STRING.
2006-07-12 13:19:42 +00:00
Kim F. Storm
979376cccc
(Fmac_get_preference): Use CHECK_LIST_END.
2006-07-12 13:19:33 +00:00
Kim F. Storm
8878319cf1
(check_obarray): Cleanup wrong_type_argument use.
2006-07-12 13:19:27 +00:00
Kim F. Storm
ce5a29a111
(Fdefine_key, Flookup_key): Use CHECK_VECTOR_OR_STRING.
2006-07-12 13:19:15 +00:00
Kim F. Storm
592c0e80ab
(access_keymap_keyremap): Use ARRAYP.
2006-07-12 13:19:04 +00:00
Kim F. Storm
7fee0b5168
(Fdefine_fringe_bitmap): Cleanup wrong_type_argument use.
2006-07-12 13:17:29 +00:00
Kim F. Storm
89662fc363
(Flength, Felt, Ffillarray): Remove loop around wrong_type_argument.
...
(Fcopy_sequence, concat): Cleanup wrong_type_argument use.
(concat): Use CHECK_NUMBER.
(Felt): Use CHECK_ARRAY.
(Fsubstring, substring_both): Use CHECK_VECTOR_OR_STRING.
(Fmemq): Use CHECK_LIST.
(Fassq, Fassoc, Frassq, Frassoc): Use CAR.
(assq_no_quit): Use CAR_SAFE.
(Fnthcdr, Fmember, Fdelq, Fdelete, Fnreverse, Fnconc):
Use CHECK_LIST_CONS.
(Freverse, Fplist_get, Flax_plist_get): Use CHECK_LIST_END.
2006-07-12 13:17:13 +00:00
Kim F. Storm
b7f34213c1
(general_insert_function): Remove loop around wrong_type_argument.
2006-07-12 13:16:32 +00:00
Kim F. Storm
99a2036811
(sit_for): Tiny simplification.
2006-07-12 13:16:13 +00:00
Kim F. Storm
0c64a8cd5d
(wrong_type_argument): Remove loop around Fsignal.
...
(Farrayp, Fsequencep): Use ARRAYP.
(Fcar, Fcdr): Remove loop around wrong_type_argument.
(Fcar): Use CAR.
(Fcar_safe): Use CAR_SAFE.
(Fcdr): Use CDR.
(Fcdr_safe): Use CDR_SAFE.
(Fsetcar, Fsetcdr): Use CHECK_CONS.
(Fsubr_arity, Fsubr_name): Use CHECK_SUBR.
(Faset): Use CHECK_ARRAY.
2006-07-12 13:15:46 +00:00
Kim F. Storm
886742699b
(check_category_table): Use CHECK_TYPE.
2006-07-12 13:15:18 +00:00
Kim F. Storm
a5f07f6d92
* casetab.c (check_case_table): Use CHECK_TYPE.
2006-07-12 13:15:03 +00:00
Kim F. Storm
4e374bf2f8
(casify_object): Remove loop around wrong_type_argument.
2006-07-12 13:14:51 +00:00
Kim F. Storm
b08b1fc936
(Fcall_interactively): Remove loop around wrong_type_argument.
2006-07-12 13:14:38 +00:00
Kim F. Storm
c616acb810
(Fbyte_code): Use CHECK_VECTOR.
2006-07-12 13:14:26 +00:00
Kim F. Storm
7e9d10c3dc
(CHECK_CATEGORY, CHECK_CATEGORY_SET): Use CHECK_TYPE.
2006-07-12 13:14:11 +00:00
Kim F. Storm
915a3e00ad
(CHECK_FRAME, CHECK_LIVE_FRAME): Use CHECK_TYPE.
2006-07-12 13:14:00 +00:00
Kim F. Storm
c8a39089de
(CHECK_TYPE): New macro for generic type checking.
...
(CAR_SAFE, CDR_SAFE): New macros.
(ARRAYP, CHECK_ARRAY): New macros.
(CHECK_VECTOR_OR_STRING, CHECK_SUBR): New macros.
(CHECK_WINDOW_CONFIGURATION): New macro.
(CHECK_LIST_CONS, CHECK_LIST_END): New checks for list traversal.
(CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST)
(CHECK_STRING, CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL)
(CHECK_CHAR_TABLE, CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE)
(CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS)
(CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, CHECK_OVERLAY)
(CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT)
(CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Use CHECK_TYPE.
2006-07-12 13:13:44 +00:00
Kim F. Storm
b8a6aaa7dd
*** empty log message ***
2006-07-12 13:13:21 +00:00
YAMAMOTO Mitsuharu
099d42019a
*** empty log message ***
2006-07-12 08:38:06 +00:00
YAMAMOTO Mitsuharu
67c08d6c72
Include blockinput.h.
...
(Fexpand_file_name, search_embedded_absfilename): Add BLOCK_INPUT
around getpwnam.
(search_embedded_absfilename): Remove spurious xfree.
2006-07-12 08:37:45 +00:00
YAMAMOTO Mitsuharu
b91834c328
Include blockinput.h.
...
(Fuser_login_name, Fuser_full_name): Add BLOCK_INPUT around
getpwuid/getpwnam.
2006-07-12 08:37:25 +00:00
YAMAMOTO Mitsuharu
8c8a7c58e3
Include blockinput.h.
...
(Ffile_attributes): Add BLOCK_INPUT around getpwuid/getgrgid.
2006-07-12 08:37:07 +00:00
YAMAMOTO Mitsuharu
28d987ee5d
(dired.o, editfns.o, fileio.o): Depend on blockinput.h.
2006-07-12 08:36:49 +00:00
Kim F. Storm
7ff1477351
(sit_for): Use XINT.
2006-07-12 08:21:23 +00:00
Kim F. Storm
8e09f23fbf
(sit_for): Signal error if TIMEOUT is not a number in case arg comes
...
directly from a Lisp variable.
2006-07-11 22:55:29 +00:00
Kim F. Storm
2e42ee7bfb
*** empty log message ***
2006-07-11 20:13:40 +00:00
Kim F. Storm
e7c4e229ca
(Fcall_interactively): Update/simplify sit_for calls.
2006-07-11 20:11:23 +00:00
Kim F. Storm
83f8d90363
(Fdo_auto_save): Update/simplify sit_for calls.
2006-07-11 20:11:10 +00:00
Kim F. Storm
666dc232b0
(command_loop_1, read_char, Fexecute_extended_command):
...
Update/simplify sit_for calls.
2006-07-11 20:10:56 +00:00
Kim F. Storm
7ca462f695
(temp_echo_area_glyphs): Update/simplify sit_for calls.
2006-07-11 20:10:34 +00:00
Kim F. Storm
ab9b1db594
(sit_for): Update prototype.
...
(Fredisplay): Add EXFUN.
2006-07-11 20:09:59 +00:00
Kim F. Storm
6a6be67ad3
(sit_for): Remove prototype.
2006-07-11 20:09:49 +00:00
Kim F. Storm
902b9b6dde
(sit_for): Reduce number of args from 5 to 3.
...
Now just one TIMEOUT arg that can be a Lisp float or Lisp int.
Combine args DISPLAY and INITIAL_DISPLAY into one arg DO_DISPLAY.
Undo 2006-06-14 change for non-preemptive display if TIMEOUT < 0.
The rework of sit_for args also fixes several incorrect Qt args
which should have been 1.
(Fredisplay): Pass 1 instead of Qt to swallow_events and
detect_input_pending_run_timers.
2006-07-11 20:09:26 +00:00
Stefan Monnier
a0aa7fcfd8
(forw_comment): Also use EMACS_INT for buffer positions.
2006-07-11 13:52:21 +00:00
Kim F. Storm
ff97f952e6
*** empty log message ***
2006-07-11 00:48:06 +00:00
Chong Yidong
a5c2c707c6
Doc fix.
2006-07-11 00:13:17 +00:00
Kim F. Storm
b19659b953
(Fredisplay): Doc fix.
2006-07-10 23:54:17 +00:00
Kim F. Storm
01327edf88
(Fredisplay): Add FORCE argument to force redisplay when
...
input is available. Fix test for redisplay_dont_pause non-nil.
Specbind redisplay-dont-pause to t if FORCE non-nil.
2006-07-10 23:52:38 +00:00
Chong Yidong
7157b8fe89
Doc fix.
2006-07-10 18:51:42 +00:00
Chong Yidong
7ba07a1a03
* puresize.h (BASE_PURESIZE): Increment to 1211000.
...
* dispnew.c (Fredisplay): New function, equivalent to (sit-for 0).
(Fsit_for): Function deleted.
* keyboard.c (command_loop_1, Fexecute_extended_command): Call
sit_for instead of Fsit_for.
* minibuf.c (temp_echo_area_glyphs): Likewise.
2006-07-10 18:51:31 +00:00
Stefan Monnier
932e6895de
(back_comment, scan_lists): Also use EMACS_INT for buffer positions.
2006-07-09 14:36:07 +00:00
Stefan Monnier
2312c580d3
(Fforward_comment): Revert the reversion.
2006-07-09 14:19:33 +00:00
John Paul Wallington
bf88ca6390
(Fforward_comment): Use type int for stop', count1', `out_charpos'
...
and `out_bytepos' too; revert Stef's previous change.
2006-07-09 03:33:14 +00:00