aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
Commit message (Collapse)AuthorAgeFilesLines
* (Fclear_face_cache, Fx_send_client_event): Declare.Stefan Monnier2007-08-221-0/+2
|
* Replace `iff' in comments.Glenn Morris2007-08-081-2/+2
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Declare check_obarray.Chong Yidong2007-03-171-0/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (clear_regexp_cache): Declare.Stefan Monnier2006-10-031-0/+1
|
* (pos_visible_p): Update prototype.Kim F. Storm2006-09-051-1/+1
|
* * buffer.h (struct buffer_text): New field chars_modiff.Chong Yidong2006-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | (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.
* * lisp.h: Update read-char, read-event, and read_filtered_eventChong Yidong2006-07-261-3/+3
| | | | prototypes.
* * ebrowse.c (usage, version): Mark as NO_RETURN.Dan Nicolaescu2006-07-181-3/+3
| | | | | | | | | | | | | | | | | * 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.
* (list1): Add EXFUN.Kim F. Storm2006-07-181-0/+7
| | | | | (xsignal, xsignal0, xsignal1, xsignal2, xsignal3, signal_error): Add prototypes. Mark them as no-return.
* (CHECK_TYPE): New macro for generic type checking.Kim F. Storm2006-07-121-41/+61
| | | | | | | | | | | | | | | (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.
* (sit_for): Update prototype.Kim F. Storm2006-07-111-2/+2
| | | | (Fredisplay): Add EXFUN.
* * search.c (matcher_overflow): Mark as NO_RETURN.Dan Nicolaescu2006-05-291-2/+2
| | | | | | | | | | * xterm.c (x_connection_closed): Likewise. * sysdep.c (croak): Likewise. * sound.c (sound_perror, alsa_sound_perror): Likewise. * lisp.h (die, nsberror): Likewise.
* (Fread_from_minibuffer): Decrement number of args.Juri Linkov2006-05-251-1/+1
|
* (syms_of_fontset, Fset_fontset_font): Put extern andYAMAMOTO Mitsuharu2006-04-121-7/+26
| | | | | | | | | 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.
* * lisp.h (wrong_type_argument): Mark as NO_RETURN.Dan Nicolaescu2006-04-111-1/+1
| | | | | * data.c (wrong_type_argument): Try to avoid compiler warnings due to the fact the function is now marked as NO_RETURN.
* Undo previous change.Richard M. Stallman2006-04-091-1/+1
|
* (args_out_of_range, args_out_of_range_3)Dan Nicolaescu2006-04-091-1/+1
| | | | (Fkill_buffer): Likewise.
* * puresize.h (pure_write_error): Mark as NO_RETURN.Dan Nicolaescu2006-04-091-2/+3
| | | | * lisp.h (args_out_of_range, args_out_of_range_3): Likewise.
* (report_file_error): Mark as NO_RETURN.Dan Nicolaescu2006-04-081-1/+1
|
* (PSEUDOVECSIZE): Fix last change.Eli Zaretskii2006-04-081-8/+8
|
* (PSEUDOVECTOR_SIZE_MASK): Expand docstring.Stefan Monnier2006-04-081-1/+5
|
* (OFFSETOF, PSEUDOVECSIZE): New macros.Stefan Monnier2006-04-081-0/+14
|
* Remove duplicate prototypes. Make the prototype of getloadavg be conditionedEli Zaretskii2006-03-111-7/+2
| | | | on HAVE_GETLOADAVG being undefined.
* EXFUN Fget_load_suffixes. Extern Vload_file_rep_suffixes.Luc Teirlinck2006-02-271-1/+2
|
* (struct specbinding, specpdl_ptr): Remove the volatile qualifier which wasStefan Monnier2006-02-261-3/+3
| | | | trying to avoid the bug that was fixed by yesterday's changes to xterm.c.
* * data.c (Findirect_function): Add NOERROR arg. All callers changedKim F. Storm2006-02-101-1/+1
| | | | | | | | 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.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]: Cast bitfieldKen Raeburn2006-02-051-1/+5
| | | | value to EMACS_INT, to suppress gcc warning.
* (EQ): Use == so args are computed just once.Richard M. Stallman2005-12-111-1/+1
|
* Use typedef when Lisp_Object is EMACS_INT so thatNick Roberts2005-11-201-1/+1
| | | | this type is recognised when debugging.
* (struct Lisp_Cons): Make cdr a union.Andreas Schwab2005-11-151-8/+22
| | | | | | (XCDR_AS_LVALUE): Adjust. (struct Lisp_Float): Make data a union. (XFLOAT_DATA): Adjust.
* (valid_lisp_object_p): Add prototype.Kim F. Storm2005-11-091-0/+1
|
* (memory_full_cons_threshold): Declared.Richard M. Stallman2005-10-291-0/+3
| | | | (internal_lisp_condition_case): Declared.
* * lisp.h (fatal): Undo previous change.Dan Nicolaescu2005-10-021-1/+1
| | | | * term.c (fatal): Undo previous change.
* * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correctDan Nicolaescu2005-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix last change.Eli Zaretskii2005-09-101-1/+1
|
* (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: Add prototype.Eli Zaretskii2005-09-101-0/+3
|
* (QUIT) [!SYNC_INPUT]: Throw t to Vthrow_on_input.Kim F. Storm2005-08-151-1/+1
|
* (deactivate_process, status_notify, read_process_output):Kim F. Storm2005-08-151-3/+0
| | | | Remove prototypes.
* (QUIT): Throw t to Vthrow_on_input.Richard M. Stallman2005-08-091-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+1
|
* (gc_cons_threshold, gc_relative_threshold): Declared.Richard M. Stallman2005-07-231-2/+4
| | | | (gc_cons_combined_threshold): Declaration deleted.
* (gc_cons_threshold): Remove declaration.Stefan Monnier2005-07-131-1/+0
|
* (gc_cons_combined_threshold): Declare.Stefan Monnier2005-07-131-0/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Update EXFUN of Fselect_frame.Luc Teirlinck2005-06-101-1/+1
|
* (Fmatch_data, Fset_match_data): Fix EXFUN.Kim F. Storm2005-06-081-3/+5
| | | | | (record_unwind_save_match_data): Add prototype. (restore_search_regs): Rename from restore_match_data.
* Fx_popup_dialog can have three arguments.Nick Roberts2005-05-241-1/+1
|