Stefan Monnier
5772ed4bf3
(Fclear_face_cache, Fx_send_client_event): Declare.
2007-08-22 16:44:09 +00:00
Glenn Morris
e0f24100c7
Replace `iff' in comments.
2007-08-08 07:49:21 +00:00
Glenn Morris
684d6f5bcc
Switch license to GPLv3 or later.
2007-07-25 05:19:07 +00:00
Chong Yidong
200f966fdf
Declare check_obarray.
2007-03-17 18:27:10 +00:00
Glenn Morris
4e6835dbc4
Add 2007 to copyright years.
2007-01-21 04:57:37 +00:00
Stefan Monnier
ec40e71f22
(clear_regexp_cache): Declare.
2006-10-03 13:38:18 +00:00
Kim F. Storm
3ad5e58f3e
(pos_visible_p): Update prototype.
2006-09-05 22:49:36 +00:00
Chong Yidong
3e1451520b
* buffer.h (struct buffer_text): New field chars_modiff.
...
(CHARS_MODIFF, BUF_CHARS_MODIFF): New macros.
* buffer.c (Fbuffer_chars_modified_tick): New function returning
value of BUF_CHARS_MODIFF.
(syms_of_buffer): Defsubr it.
(Fget_buffer_create): Initialize BUF_CHARS_MODIFF.
* insdel.c (modify_region): New argument preserve_chars_modiff.
Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero.
(insert_1_both, insert_from_string_1, insert_from_buffer_1)
(adjust_after_replace, adjust_after_replace_noundo)
(replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF.
* lisp.h (modify_region): Add fourth argument in extern.
* casefiddle.c (casify_region): Call modify_region with fourth
argument zero to assert that CHARS_MODIFF is updated.
* editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
(Ftranspose_regions): Likewise.
* textprop.c (Fadd_text_properties, Fset_text_properties)
(Fremove_text_properties, Fremove_list_of_text_properties):
Call modify_region with fourth argument 1 to avoid that
CHARS_MODIFF is updated.
2006-09-01 13:28:13 +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
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
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
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
ab9b1db594
(sit_for): Update prototype.
...
(Fredisplay): Add EXFUN.
2006-07-11 20:09:59 +00:00
Dan Nicolaescu
01d0930532
* search.c (matcher_overflow): Mark as NO_RETURN.
...
* xterm.c (x_connection_closed): Likewise.
* sysdep.c (croak): Likewise.
* sound.c (sound_perror, alsa_sound_perror): Likewise.
* lisp.h (die, nsberror): Likewise.
2006-05-29 08:06:15 +00:00
Juri Linkov
2c9606674d
(Fread_from_minibuffer): Decrement number of args.
2006-05-25 21:12:52 +00:00
YAMAMOTO Mitsuharu
4f48f1abea
(syms_of_fontset, Fset_fontset_font): Put extern and
...
EXFUN in #ifdef HAVE_WINDOW_SYSTEM.
(syms_of_xfns, syms_of_xsmfns, syms_of_xselect, syms_of_xterm):
Put externs in #ifdef HAVE_X_WINDOWS.
(syms_of_macfns, syms_of_macselect, syms_of_macterm)
(syms_of_macmenu, syms_of_mac) [MAC_OS]: Add externs.
(init_mac_osx_environment) [MAC_OSX]: Add extern.
2006-04-12 08:06:25 +00:00
Dan Nicolaescu
db926d8091
* lisp.h (wrong_type_argument): Mark as NO_RETURN.
...
* data.c (wrong_type_argument): Try to avoid compiler warnings due
to the fact the function is now marked as NO_RETURN.
2006-04-11 07:13:33 +00:00
Richard M. Stallman
2a8da5551c
Undo previous change.
2006-04-09 19:56:27 +00:00
Dan Nicolaescu
4ca412ecd0
(args_out_of_range, args_out_of_range_3)
...
(Fkill_buffer): Likewise.
2006-04-09 09:18:47 +00:00
Dan Nicolaescu
404be028b9
* puresize.h (pure_write_error): Mark as NO_RETURN.
...
* lisp.h (args_out_of_range, args_out_of_range_3): Likewise.
2006-04-09 09:03:44 +00:00
Dan Nicolaescu
31a4f621f9
(report_file_error): Mark as NO_RETURN.
2006-04-08 19:35:48 +00:00
Eli Zaretskii
7e77352939
(PSEUDOVECSIZE): Fix last change.
2006-04-08 16:37:46 +00:00
Stefan Monnier
df631196ed
(PSEUDOVECTOR_SIZE_MASK): Expand docstring.
2006-04-08 14:34:31 +00:00
Stefan Monnier
d0ebe33a4a
(OFFSETOF, PSEUDOVECSIZE): New macros.
2006-04-08 14:15:04 +00:00
Eli Zaretskii
8890220d92
Remove duplicate prototypes. Make the prototype of getloadavg be conditioned
...
on HAVE_GETLOADAVG being undefined.
2006-03-11 12:33:03 +00:00
Luc Teirlinck
3ceb69d976
EXFUN Fget_load_suffixes. Extern Vload_file_rep_suffixes.
2006-02-27 02:06:01 +00:00
Stefan Monnier
a7af588620
(struct specbinding, specpdl_ptr): Remove the volatile qualifier which was
...
trying to avoid the bug that was fixed by yesterday's changes to xterm.c.
2006-02-26 16:14:20 +00:00
Kim F. Storm
a7f96a358b
* data.c (Findirect_function): Add NOERROR arg. All callers changed
...
to pass Qnil for NOERROR.
* keymap.c (current_minor_maps_error): Remove.
(current_minor_maps): Pass Qt for NOERROR to Findirect_function
instead of using internal_condition_case_1+current_minor_maps_error.
2006-02-10 00:00:31 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Ken Raeburn
98950fd6ba
(XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]: Cast bitfield
...
value to EMACS_INT, to suppress gcc warning.
2006-02-05 12:21:40 +00:00
Richard M. Stallman
2231a9e22d
(EQ): Use == so args are computed just once.
2005-12-11 15:35:51 +00:00
Nick Roberts
c003141f4c
Use typedef when Lisp_Object is EMACS_INT so that
...
this type is recognised when debugging.
2005-11-20 02:15:26 +00:00
Andreas Schwab
3a623feeb5
(struct Lisp_Cons): Make cdr a union.
...
(XCDR_AS_LVALUE): Adjust.
(struct Lisp_Float): Make data a union.
(XFLOAT_DATA): Adjust.
2005-11-15 13:53:09 +00:00
Kim F. Storm
cbe3cc9229
(valid_lisp_object_p): Add prototype.
2005-11-09 23:14:19 +00:00
Richard M. Stallman
eb3fe1745c
(memory_full_cons_threshold): Declared.
...
(internal_lisp_condition_case): Declared.
2005-10-29 19:40:49 +00:00
Dan Nicolaescu
eb27c2ca1f
* lisp.h (fatal): Undo previous change.
...
* term.c (fatal): Undo previous change.
2005-10-02 18:35:05 +00:00
Dan Nicolaescu
fa8459a34e
* image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct
...
type.
* xterm.c (handle_one_xevent, handle_one_xevent): Likewise.
* unexelf.c (fatal): Fix prototype.
* term.c (fatal): Implement using varargs.
* regex.c (re_char): Move typedef ...
* regex.h (re_char): ... here.
(re_iswctype, re_wctype, re_set_whitespace_regexp): New
prototypes.
* emacs.c (malloc_set_state): Fix return type.
(endif): Fix type.
* lisp.h (fatal): Add argument types.
* dispextern.h (fatal): Delete prototype.
* systime.h: (make_time): Prototype moved from ...
* editfns.c (make_time): ... here.
* editfns.c: Move systime.h include after lisp.h.
* dired.c:
* xsmfns.c:
* process.c: Likewise.
* alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook):
Add parameter types.
(__malloc_hook, __realloc_hook, __free_hook): Fix prototypes.
(emacs_blocked_free): Change definition to match __free_hook.
(emacs_blocked_malloc): Change definition to match __malloc_hook.
(emacs_blocked_realloc): Change definition to match
__realloc_hook.
2005-09-30 22:38:16 +00:00
Eli Zaretskii
2412f58675
Fix last change.
2005-09-10 14:12:35 +00:00
Eli Zaretskii
2b94e5988b
(get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: Add prototype.
2005-09-10 14:03:01 +00:00
Kim F. Storm
85c9ff2c64
(QUIT) [!SYNC_INPUT]: Throw t to Vthrow_on_input.
2005-08-15 12:22:43 +00:00
Kim F. Storm
b740916484
(deactivate_process, status_notify, read_process_output):
...
Remove prototypes.
2005-08-15 08:45:04 +00:00
Richard M. Stallman
17365af46c
(QUIT): Throw t to Vthrow_on_input.
2005-08-09 12:10:29 +00:00
Thien-Thi Nguyen
0b5538bd85
Update years in copyright notice; nfc.
2005-08-07 12:33:19 +00:00
Richard M. Stallman
9bd32d8c95
(gc_cons_threshold, gc_relative_threshold): Declared.
...
(gc_cons_combined_threshold): Declaration deleted.
2005-07-23 19:08:32 +00:00
Stefan Monnier
43afcf1762
(gc_cons_threshold): Remove declaration.
2005-07-13 05:32:52 +00:00
Stefan Monnier
a41abbf623
(gc_cons_combined_threshold): Declare.
2005-07-13 05:30:04 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Luc Teirlinck
9848feb480
Update EXFUN of Fselect_frame.
2005-06-10 02:29:12 +00:00
Kim F. Storm
5fe2b5a58d
(Fmatch_data, Fset_match_data): Fix EXFUN.
...
(record_unwind_save_match_data): Add prototype.
(restore_search_regs): Rename from restore_match_data.
2005-06-08 22:32:33 +00:00
Nick Roberts
897001fedb
Fx_popup_dialog can have three arguments.
2005-05-24 03:44:09 +00:00