1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-14 10:00:25 -08:00
Commit graph

2534 commits

Author SHA1 Message Date
Stefan Monnier
aad1474bcd (Ffeaturep): Remove. 2001-10-12 22:25:01 +00:00
Stefan Monnier
13598ab49f (Ffeaturep, Fprovide): Update prototype. 2001-10-12 22:21:59 +00:00
Stefan Monnier
183d183355 (Vload_suffixes, Vexec_suffixes): Declare.
(openp): Update prototype.
2001-10-12 03:22:15 +00:00
Stefan Monnier
1093ec4796 (empty_string): Declare. 2001-10-12 02:12:28 +00:00
Gerd Moellmann
fb756c1cd7 (FIXNUM_OVERFLOW_P): Cast I to EMACS_INT in comparisons
in case I is of some unsigned type, in which case
MOST_NEGATIVE_FIXNUM will be converted to unsigned, and the
comparison becomes bogus.
2001-10-11 19:13:20 +00:00
Gerd Moellmann
53ede3f4d8 (make_fixnum_or_float): New macro. 2001-10-11 15:37:13 +00:00
Gerd Moellmann
7436b0a99d (circular_list_error): Add prototype. 2001-10-11 08:46:50 +00:00
Andrew Innes
152180e34e [max]: Undef min and max before redefining them. 2001-10-08 22:39:06 +00:00
Stefan Monnier
3d9bae5081 Remove the entries for keymap.c (moved to keymap.h). 2001-10-08 11:42:10 +00:00
Gerd Moellmann
8a226de766 (min, max): New macros. 2001-10-08 07:59:17 +00:00
Pavel Janík
9180dc8c3d *** empty log message *** 2001-10-08 06:45:26 +00:00
Ken Raeburn
0037e2f2cb * lisp.h (Ffield_end): Declare. 2001-10-07 11:02:52 +00:00
Gerd Moellmann
d9eb1c3d52 Fix last change. 2001-10-07 00:14:18 +00:00
Gerd Moellmann
dc8e8b07bd (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM)
(FIXNUM_OVERFLOW_P): New macros.
2001-10-06 23:25:06 +00:00
Gerd Moellmann
a32fa73696 (LIST_END_P, FOREACH): New macros.
(pure_size) [HAVE_SHM]: Declare extern size_t.
(check_pure_size): Add prototype.

(enum symbol_interned): New enumeration.
(struct Lisp_Symbol): Remove member `obarray', add
`indirect_variable', `constant', and `interned'.
(SYMBOL_INTERNED_P, SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P)
(SYMBOL_CONSTANT_P, SYMBOL_VALUE, SET_SYMBOL_VALUE): New macros.
(indirect_variable): Add prototype.
2001-10-05 09:48:47 +00:00
Gerd Moellmann
417750de1c (echo_kboard): Declare extern. 2001-09-26 12:00:56 +00:00
Gerd Moellmann
b8b319675a (Qinhibit_modification_hooks): Declare. 2001-09-11 12:32:17 +00:00
Eli Zaretskii
1fb046593f Fix a typo in a comment. From Pavel Janik <Pavel@Janik.cz>. 2001-09-08 10:32:00 +00:00
Ken Raeburn
232e274c6e * lisp.h (XVECTOR): Verify correct object type before returning a pointer. 2001-07-17 16:44:16 +00:00
Gerd Moellmann
2d160521ef Change comment. 2001-07-05 09:24:35 +00:00
Gerd Moellmann
3326dc20c5 Improve comment. 2001-07-03 15:28:40 +00:00
Gerd Moellmann
e9726794f6 (GLYPH_CHAR_VALID_P): Use CHAR_VALID_P. 2001-05-09 17:02:00 +00:00
Gerd Moellmann
54cd1651f3 (echoing, echo_message_buffer, cancel_echoing): Declare. 2001-04-04 14:04:01 +00:00
Gerd Moellmann
04b80c65ce (Qinhibit_eval_during_redisplay): Declare extern. 2001-03-28 15:32:52 +00:00
Gerd Moellmann
97305dec1c (Vx_resource_name) [HAVE_X_WINDOWS]: Declare extern.
(GC_CHECK_STRING_BYTES): Don't define.
2001-03-22 19:51:14 +00:00
Gerd Moellmann
13ff50bb75 (store_symval_forwarding): Change prototype. 2001-03-15 09:42:53 +00:00
Gerd Moellmann
25f873bc30 (do_switch_frame): Change prototype. 2001-03-14 16:34:51 +00:00
Gerd Moellmann
45d051a764 (Vwindow_list): Declare extern. 2001-03-06 19:39:03 +00:00
Gerd Moellmann
d3d92d2591 (mouse_face_overlay_overlaps): Add prototype.
(Qmouse_face): Declare extern.
2001-03-06 15:29:14 +00:00
Ken Raeburn
4560730a98 * lisp.h (Fframe_parameter): Declare. 2001-02-28 17:43:49 +00:00
Gerd Moellmann
42cc5ba463 (allocate_vectorlike): Remove prototype.
(allocate_vector, allocate_other_vector, allocate_frame)
(allocate_window, allocate_process, allocate_hash_table):
Add prototypes.
2001-02-28 13:27:04 +00:00
Gerd Moellmann
1ee4d0e69d (interactive_p): Add prototype. 2001-01-31 14:48:07 +00:00
Gerd Moellmann
69d1478a79 (redisplay_preserve_echo_area): Change prototype. 2001-01-16 12:38:28 +00:00
Gerd Moellmann
35f464a758 (STRING_BYTES) [GC_CHECK_STRING_BYTES]: Call
function string_bytes.
(GC_CHECK_STRING_BYTES): Moved here from alloc.c.
2001-01-09 20:11:40 +00:00
Gerd Moellmann
99ee70a989 (push_message_unwind): Add prototype. 2001-01-09 13:45:04 +00:00
Gerd Moellmann
89f93679ee (push_key_description): Add prototype. 2000-12-28 13:41:26 +00:00
Gerd Moellmann
c6ae41f3c9 (Qinhibit_point_motion_hooks): Declare extern. 2000-12-21 16:57:00 +00:00
Kenichi Handa
984742da9c (detect_coding_system): Prototype adjusted. 2000-12-13 23:29:44 +00:00
Ken Raeburn
d7935eb67d (Fmake_variable_buffer_local, Fbuffer_file_name): Declare. 2000-12-04 00:29:36 +00:00
Gerd Moellmann
acb8dc441d (BINDING_STACK_SIZE): New macro. 2000-11-15 19:24:35 +00:00
Gerd Moellmann
d7652128aa (pos_visible_p): Change prototype. 2000-11-14 05:41:41 +00:00
Ken Raeburn
651cd3dae2 * lisp.h (Flooking_at): Declare. 2000-11-09 22:30:39 +00:00
Stefan Monnier
020676925c * lisp.h (KEYMAPP): New macro.
(get_keymap): Remove.
(get_keymap_1): Rename get_keymap.
* keyboard.h (get_keymap_1, Fkeymapp): Remove prototype.
* xterm.c (note_mode_line_highlight): Use KEYMAPP.
* xmenu.c (single_submenu): Use KEYMAPP.
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
* w32term.c (note_mode_line_highlight): Use KEYMAPP.
* w32menu.c (True, False): Remove (use TRUE and FALSE instead).
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
(single_submenu): Use KEYMAPP.
(w32_menu_show, w32_dialog_show): Use TRUE.
* minibuf.c (Fread_from_minibuffer): Update call to get_keymap.
* keymap.c (KEYMAPP): Remove (moved to lisp.h).
(Fkeymapp): Use KEYMAPP.
(get_keymap): Rename from get_keymap_1.  Remove old def.
Return t when autoload=0 and error=0 and the keymap needs autoloading.
(Fcopy_keymap): Check (eq (car x) 'keymap) rather than using Fkeymapp.
(Fminor_mode_key_binding): Don't raise an error if the binding
is not a keymap.
(Fuse_global_map, Fuse_local_map): Allow autoloading.
(Faccessible_keymaps): Fetch keymaps rather than checking Fkeymapp.
* keyboard.c (read_char): get_keymap_1 -> get_keymap.
Allow Vspecial_event_map to be autoloaded.
(menu_bar_items): Fetch the keymap rather than using keymapp.
(menu_bar_one_keymap): No need to follow func-indirect any more.
(parse_menu_item): get_keymap_1 -> get_keymap.
(tool_bar_items): Fetch the keymap rather than using keymapp.
(read_key_sequence): Use KEYMAPP.
* intervals.c (get_local_map): Use get_keymap rather than following
function-indirections explicitly.
* doc.c (Fsubstitute_command_keys): get_keymap_1 -> get_keymap.
2000-10-27 22:20:19 +00:00
Gerd Moellmann
c4586ad1d8 (pos_visible_p): Add prototype. 2000-10-25 11:54:27 +00:00
Miles Bader
de54681ae5 (Fpos_visible_in_window_p): Update prototype 2000-10-21 08:02:17 +00:00
Stefan Monnier
db785038bb * keymap.c (access_keymap): Add AUTOLOAD parameter.
Do the meta->esc mapping.  Call get_keyelt before returning.
Start scanning from the second element (the first is always `keymap')
to make it easier to detect when we reach a parent map.
Handle the case of inheriting from a symbol whose function is a map.
(Fkeymap_parent): Also handle the `inherit from symbol' case.
(fix_submap_inheritance, Fdefine_key): Update call to access_keymap.
(get_keyelt, Flookup_key): Update call to access_keymap.
Remove the meta->esc mappings.
(define_as_prefix): Delete old disabled code.
(menu_item_p): New function.
(where_is_internal_1): Skip over the few remaining menu items.
* lisp.h (access_keymap): Update prototype.
* keyboard.c (read_char, menu_bar_items, tool_bar_items):
Update call to access_keymap.
(follow_key, read_key_sequence): Update calls to access_keymap.
Remove the meta->esc mappings.
2000-10-15 03:31:32 +00:00
Gerd Moellmann
a18c0a477e (safe_call): Renamed from call_function.
(safe_eval): Renamed from eval_form.
(safe_call1): Add prototype.
2000-10-05 19:26:09 +00:00
Gerd Moellmann
834168efd8 (wrong_type_argument): Remove NO_RETURN, the function can
return with a string converted to an integer or vice versa when
Vmocklisp_arguments is t.
(Fsignal): Likewise.  The function can return for `quit'.
(struct gcpro): Declare member `var' to point to a volatile
Lisp_Object.
2000-10-02 11:11:12 +00:00
Gerd Moellmann
07cd5d9c7a (fatal): Declare NO_RETURN. 2000-09-29 09:01:16 +00:00
Gerd Moellmann
c98863bfb9 (XINT) [EXPLICIT_SIGN_EXTEND]: Use BITS_PER_EMACS_INT
instead of BITS_PER_INT.
(XINT, XUINT) [NO_UNION_TYPE]: Cast result to EMACS_INT and
EMACS_UINT, respectively.
(NO_UNION_TYPE) [USE_LISP_UNION_TYPE]: Undefine.
2000-09-26 13:03:24 +00:00