1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
Commit graph

86 commits

Author SHA1 Message Date
Richard M. Stallman
7beb53fb3c (Qplus): Declared. 1994-09-26 23:42:40 +00:00
Richard M. Stallman
973e887321 (Vdebug_on_error): Declared. 1994-09-22 06:37:06 +00:00
Richard M. Stallman
f3ca341e3c (RETURN_UNGCPRO): Use if (1) .. else, not do ... while (0). 1994-09-19 05:07:10 +00:00
Karl Heuer
adff7f1831 (Fmember): Declare this function. 1994-09-18 23:59:10 +00:00
Karl Heuer
023c80d051 Declare some functions. 1994-09-17 03:14:26 +00:00
Richard M. Stallman
ce99fd6592 (EMACS_INT, EMACS_UINT): Define, if not already defined. 1994-09-17 00:51:52 +00:00
Richard M. Stallman
627a950226 (Lisp_Object): Use EMACS_INT.
(MARKBIT): Don't define if already defined.
(VALMASK, GCTYPEMASK, XSETTYPE, XSET)
(XSETCONS, XSETBUFFER, XSETVECTOR, XSETSUBR, XSETSTRING)
(XSETSYMBOL, XSETFUNCTION, XSETMARKER, XSETOBJFWD)
(XSETINTPTR, XSETWINDOW, XSETPROCESS, XSETFLOAT)
(struct Lisp_String, struct Lisp_Vector): Use EMACS_INT.
1994-09-17 00:35:09 +00:00
Richard M. Stallman
5125ca9320 (DEFUN): Check USE_NONANSI_DEFUN. 1994-08-26 00:44:42 +00:00
Richard M. Stallman
5db82c9d72 Comment fix. 1994-08-17 22:50:36 +00:00
Richard M. Stallman
c47b8d0264 (RETURN_UNGCPRO): Swallow semicolon.
(GCPRO5): New macro.
1994-06-22 20:11:29 +00:00
Karl Heuer
5d6be39f0c declare init_system_name (replaces get_system_name). 1994-06-15 05:27:38 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Richard M. Stallman
a21cfa1191 (Vascii_canon_table, Vascii_eqv_table): Declared. 1994-04-23 19:22:06 +00:00
Richard M. Stallman
7cdedc3fad (Fprocess_send_eof, Foverlay_get): Declared. 1994-04-15 22:05:41 +00:00
Richard M. Stallman
4d57802ec9 (gc_in_progress): Declared. 1994-04-03 21:31:47 +00:00
Richard M. Stallman
07a97bf8c2 (Qwholenump): Declared.
(CHECK_NATNUM): Use Qwholenump.
1994-03-22 00:14:10 +00:00
Karl Heuer
49b0dd7595 (MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): Handle termcap frames as well as X.
(FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE): New macros.
1994-03-19 02:54:00 +00:00
Richard M. Stallman
4606cc9da8 (GLYPH_MODE_LINE_FACE): New macro. 1994-03-10 00:20:34 +00:00
Richard M. Stallman
362fb47a7c (Qvisible): Declared. 1994-03-08 05:37:15 +00:00
Richard M. Stallman
846d69ac63 (ARRAY_MARK_FLAG): Define here. 1994-03-05 23:26:52 +00:00
Richard M. Stallman
22bbbd42aa (struct handler): New field chosen_clause.
(memory_signal_data): Declare it.
1994-03-02 03:44:58 +00:00
Karl Heuer
681410a1fb Delete extra backslash on last line of macro. 1994-02-26 02:20:31 +00:00
Karl Heuer
c65be0e127 New variable doc_directory. 1994-02-22 23:46:42 +00:00
Richard M. Stallman
a965608992 (internal_condition_case_1): Declared. 1994-02-05 07:19:04 +00:00
Karl Heuer
352b6a9e76 (get_system_name): Declared. 1994-02-02 06:31:26 +00:00
Richard M. Stallman
e6faba7f61 (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID): New macros.
(Vinstallation_directory): Declared.
1994-01-20 14:41:49 +00:00
Richard M. Stallman
c451d7b1a3 Use WORDS_BIG_ENDIAN, not BIG_ENDIAN.
(Qmenu_bar): Declared.

(DEFUN_ARGS_MANY, DEFUN_ARGS_UNEVALLED, DEFUN_ARGS_0,...): New macros.
(DEFUN) [__STDC__]: Use those macros.
1993-12-23 01:26:50 +00:00
Richard M. Stallman
5525395793 Declare Fnext_single_property_change and Fnext_property_change. 1993-11-23 09:57:33 +00:00
Brian Fox
e5f55f0753 Format comment. 1993-10-05 01:50:32 +00:00
Richard M. Stallman
3530d53400 (Vinvocation_directory): Declared. 1993-08-10 04:36:30 +00:00
Jim Blandy
e872064401 Consistently use the mark bit of the root interval's parent field
to say whether or not the interval tree has been visited (and skip
	it when revisited), and the mark bit of the plist field to say
	whether or not that interval has been visited (and abort if
	revisited); don't try to use the plist mark bit for both
	meanings.
	* alloc.c (mark_interval_tree): Don't test if the interval tree
	has already been visited here; let the MARK_INTERVAL_TREE macro do
	that; avoid function call overhead.  Mark the interval tree as
	having been visited by setting TREE->parent's mark bit.
	(MARK_INTERVAL_TREE): If the tree has been visited (according to
	I->parent's mark bit), don't call mark_interval_tree.
	(gc_sweep): Rebalance the interval trees of those large strings
	which are still alive.  This also clears the mark bits of those
	trees' root intervals' parent fields.
	(compact_strings): Rebalance the interval tree of each small
	strings which is still alive.  This also clears the mark bits of
	that tree's root interval's parent field.  Since the string has
	moved, update the root interval's parent pointer to contain the
	new address.
	* lisp.h (struct interval): Doc fix; explain the roles of the mark
	bits of the parent and plist members.
1993-07-18 06:26:10 +00:00
Richard M. Stallman
c2d8811cc6 (Qinsert_in_front_hooks, Qinsert_behind_hooks): Declared.
This replaces part of previous change.
1993-07-13 21:07:02 +00:00
Richard M. Stallman
8537f1cb3a (Qinsert_before_hooks, Qinsert_after_hooks): Declared.
(Qmodification_hooks): Declared.
1993-07-13 02:20:40 +00:00
Roland McGrath
83125cd707 Declare Qmark_inactive. 1993-07-08 21:26:29 +00:00
Jim Blandy
d0068e2530 * emacs.c (Fkill_emacs): Pass third argument to shut_down_emacs.
* lisp.h (shut_down_emacs): Doc fix.
1993-06-19 20:26:11 +00:00
Jim Blandy
afd0d2375a Remove decl for Qvisible. 1993-06-17 05:03:45 +00:00
Jim Blandy
2ad18bfd26 * lisp.h (CHECK_LIST, CHECK_STRING, CHECK_CONS, CHECK_SYMBOL,
CHECK_VECTOR, CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW,
	CHECK_PROCESS, CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER,
	CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT,
	CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY): Wrap a do
	... while (0) around these compound statements to make them
	syntactically equivalent to a single statement.
1993-06-17 02:59:54 +00:00
Jim Blandy
75d8f6686c Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
	* buffer.c (Fother_buffer): Pass Qvisible as the second argument
	to Fget_buffer_window.
	* window.c (Qvisible): New symbol.
	(window_loop): In GET_BUFFER_WINDOW case, if frames is Qvisible,
	ignore non-visible frames.
	(Fget_buffer_window): Expand doc string to mention that Qvisible
	is an interesting value for FRAME argument.
	(syms_of_window): Init and staticpro Qvisible.
	* lisp.h (Qvisible): New declaration.
1993-06-17 00:39:37 +00:00
Jim Blandy
1d7cc616b8 Doc fix. 1993-06-12 17:31:26 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman
628300ba19 Don't declare malloc or realloc.
(Vinhibit_read_only): Declared.
1993-06-07 05:32:28 +00:00
Richard M. Stallman
b2ba7b00f2 (UCHAR): Don't define if _UCHAR_T. 1993-05-30 21:42:28 +00:00
Jim Blandy
52b1821d1a * lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
can be 24 bits, not just eight.
1993-05-23 19:23:38 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
339747e438 * lisp.h (malloc, realloc): Declare these to return void *, to
avoid conflicts with ANSI header files.
1993-05-18 22:44:27 +00:00
Jim Blandy
20280af7ca * lisp.h (Lisp_Overlay): New tag.
(OVERLAYP): New predicate.
	(CHECK_OVERLAY): New type-checker.
	(Qoverlayp): New extern declaration.
	* buffer.c (Foverlayp): New function.
	(Qoverlayp): New atom.
	(overlays_at, recenter_overlay_lists): Abort if we encounter an
	invalid overlay.
	(syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
	(Fdelete_overlay): Set the overlay's markers to point nowhere.
	Use CHECK_OVERLAY instead of signalling a special error.
	(Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
	signalling a special error.
	(Foverlay_get): Use CHECK_OVERLAY.
	* fns.c (internal_equal): Define this for overlays.
	* buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
	* print.c (print): Give overlays their own print syntax.
	* alloc.c (mark_object): Treat overlays like conses.

	* lisp.h (FLOATP): Define this appropriately when LISP_FLOAT_TYPE
	is not defined.
1993-05-14 14:41:36 +00:00
Jim Blandy
703f280806 * config.h.in: Remove mention of GLYPH datatype; that shouldn't be
a user option.
	* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
1993-05-10 00:17:55 +00:00
Jim Blandy
d03f79ef75 * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL,
CHAR_META): Shift these all up one bit, back to where they were.
1993-05-04 13:02:26 +00:00
Jim Blandy
59b4254d59 * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in
case we need them.
	* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
	shift_modifier, ctrl_modifier, meta_modifier): Define these in
	terms of the CHAR_mumble macros, to avoid having the same thing
	defined in two places.

	Arrange for Fy_or_n_p to put off switch-frame events.
	* lread.c (read_filtered_char): New function, which contains the
	code which used to be in Fread_char, Fread_event, and
	Fread_char_exclusive; there was a lot of common code.
	(Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms
	of read_filtered_char.
	* lisp.h (read_filtered_char): Declare this extern here.
	* fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay
	switch-frame events.

	Make the modifier manipulation functions more robust.  The old way
	caused a bug once, and probably would again.
	* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
	shift_modifier, ctrl_modifier, meta_modifier): Shift these all
	down one bit in value, to avoid sign extension problems.
	* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
	* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
	what our table of modifier names can handle.
	(apply_modifiers): Don't abort if you see extra modifier bits,
	just remove them.

	* lisp.h (Qrange_error, Qdomain_error, Qsingularity_error,
	Qoverflow_error, Qunderflow_error): Add extern to these declarations.
1993-05-04 02:34:26 +00:00
Richard M. Stallman
c5e3de70d8 (LOADHIST_ATTACH): New macro.
(Vcurrent_load_list, Vload_history): Vars declared.
1993-04-29 02:22:48 +00:00