1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
Commit graph

828 commits

Author SHA1 Message Date
Jim Blandy
8fc798e913 * dispnew.c (sit_for): Pass the correct number of arguments to
gobble_input.
1993-02-22 14:38:10 +00:00
Jim Blandy
25e40a4bb9 * data.c (Fstring_to_number): Skip initial spaces, to make Emacs
lisp parse consistently on different operating systems.
#include <ctype.h> to help with this.

* data.c (Fstring_to_int): Rename this to Fstring_to_number, since
it parses floats as well as integers.  Fix docstring.
(syms_of_data): Fix defsubr.
(wrong_type_argument): Change use.
(Fint_to_string): Doc fix.
* lisp.h (Fstring_to_int): Change extern declaration.

* data.c (wrong_type_argument): Pass the correct number of
arguments to Fstring_to_int.

* data.c (arithcompare): Add a default case which aborts, just to
make me happy.
1993-02-22 14:27:14 +00:00
Jim Blandy
1dc4f30a69 * config.h.in: #define USE_TEXT_PROPERTIES by default.
* config.h.in (HAVE_CONST): New macro.  If it's not #defined, #define
	const to be the empty string.

	* config.h.in: If we're not __STDC__, define volatile to be the
	empty string.
1993-02-22 14:26:51 +00:00
Jim Blandy
9fefd2bacb * callproc.c (delete_temp_file): Declare this to return
Lisp_Object, to smooth type-checking.

	* callproc.c (init_callproc): Move the initialization of
	Vprocess_environment to its own function.
	(set_process_environment): This is that.
	* emacs.c (main): Call set_process_environment earlier than
	init_callproc.
1993-02-22 14:24:42 +00:00
Jim Blandy
f054132a4d * bytecode.c (Fbyte_code): Pass the correct number of arguments to
temp_output_buffer_show.
1993-02-22 14:23:26 +00:00
Jim Blandy
9efa1bc61e * buffer.h: Remove code which #includes "undo.h" if lint is
defined.  undo.h no longer exists.
1993-02-22 14:23:02 +00:00
Jim Blandy
5fcd022dab * buffer.c (Fswitch_to_buffer): Pass the correct number of
arguments to Fnext_window.

	* buffer.c (Fbury_buffer): Pass the correct number of arguments to
	Fother_buffer.

	* buffer.c (buffer_slot_type_mismatch): Make symbol_name an
	unsigned char *, to match the type of a string's data.
1993-02-22 14:22:37 +00:00
Jim Blandy
1a4f1e2c64 * alloc.c (make_pure_float): Align pureptr on a sizeof (double)
boundary before allocating the float.

	* alloc.c: Add description lines to the top of each page.

	* alloc.c (mark_interval_tree): Remove spurious & in front of
	function name.

	* alloc.c (UNMARK_BALANCE_INTERVALS): Fix to accomodate compilers
	other than GCC, which do not allow casts on the LHS of an
	assignment.

	* alloc.c (mark_object, mark_buffer): Remove some unused
	variables.
1993-02-22 14:22:03 +00:00
Jim Blandy
beb593aa15 * aix3-1.h: Changes from 18.58.
(HAVE_TERMIOS): Changed from HAVE_TERMIO.
	(unix): Define.
1993-02-22 14:21:19 +00:00
Jim Blandy
067cd4a40b * ibmrs6000.h (C_ALLOCA, STACK_DIRECTION): Only define if HAVE_ALLOCA
is not defined.
	(X_DEFAULT_FONT): Change to `fixed', as `Rom14.500' only works on the
	console.
1993-02-22 14:20:51 +00:00
Jim Blandy
35a37ee74e Initial revision 1993-02-22 06:38:45 +00:00
Richard M. Stallman
17431c602d (Fskip_syntax_backward): New function.
(Fskip_syntax_forward): Likewise.
(skip_chars): New argument syntaxp.
1993-02-21 06:03:36 +00:00
Richard M. Stallman
3a69360c11 (Fsuspend_emacs): Make tem not register. 1993-02-21 02:08:17 +00:00
Richard M. Stallman
e41ae81fbf (Fmemory_limit): Doc fix. 1993-02-20 17:36:06 +00:00
Richard M. Stallman
b7d2ebbfd5 (Fsuspend_emacs): Rename suspend-hook to suspend-hooks and run it manually. 1993-02-19 19:10:39 +00:00
Richard M. Stallman
5cba3869f5 (describe_map): Call Fkey_description before build_string. 1993-02-19 05:43:54 +00:00
Richard M. Stallman
9b2471dfa9 (Fopen_dribble_file): Doc fix. 1993-02-19 04:14:25 +00:00
Richard M. Stallman
692f86ad16 (syms_of_lread): Doc fix. 1993-02-18 06:26:16 +00:00
Michael I. Bushnell
82df4891d0 * process.c (Fstart_process): Jimb's change of December 11
had a misplaced paren.  This only became apparent because of
	jimb's change on February 8 to Fexpand_file_name.
	* callproc.c (Fcall_process): Ditto.
1993-02-18 03:43:45 +00:00
Richard M. Stallman
a5f217b86e (search_command): #if 0 previous change. 1993-02-15 05:55:45 +00:00
Richard M. Stallman
481399bfac (search_command): When moving to LIM on failure, return LIM. 1993-02-15 05:42:13 +00:00
Richard M. Stallman
3bd779aadb (Frename_buffer): Make prefix arg set UNIQUE. 1993-02-14 23:08:25 +00:00
Jim Blandy
8922af5f60 * xterm.c (x_set_window_size): Call change_frame_size instead of
just setting the `rows' and `cols' members of the frame, and
	leaving the window tree in complete disarray.

	* xterm.c (x_io_error_quitter): New function.
	(x_error_quitter): Note that this is only used for protocol
	errors now, not I/O errors.
	(x_term_init): Set the I/O error handler to x_io_error_quitter.
1993-02-14 14:40:55 +00:00
Jim Blandy
baaed68ea1 * frame.c (Fframe_parameters): Report the `minibuffer' parameter of
minibufferless frames as nil, not `none'.
	(Qnone): Remove declaration and initialization for this.  It's not
	needed anymore.
	* xfns.c (Qnone): Add them here; we still accept "none" as a valid
	value for the `minibuffer' parameter.

	* xfns.c (x_frame_params): Remember that the parameters are called
	"auto-raise" and "auto-lower", not "autoraise" and "autolower".
1993-02-14 14:40:13 +00:00
Jim Blandy
1f40cad246 * xdisp.c (message): Set echo_frame to the frame whose message buf
we want to use, not to the message buf itself.

	* xdisp.c (message): Use the message buffer of the frame we're
	going to display the message on to format the message, not that of
	the selected frame.
1993-02-14 14:39:45 +00:00
Jim Blandy
832a07261f * dispnew.c (remake_frame_glyphs): When re-allocating the frame's
message buffer when echo_area_glyphs is pointing at it, relocate
	echo_area_glyphs too.  Same for previous_echo_glyphs.
	* window.h (previous_echo_glyphs): Add extern declaration for this.
1993-02-14 14:39:09 +00:00
Jim Blandy
7c1402521d * keymap.c (Flookup_key, Fkey_binding, Flocal_key_binding,
Fglobal_key_binding, Fminor_mode_key_binding): Add a new optional
	argument ACCEPT_DEFAULT, to control whether this function sees
	bindings for t.
	(Fwhere_is_internal, describe_map_tree, describe_map_2,
	describe_vector): Pass the proper arguments to Flookup_key.
1993-02-14 14:38:43 +00:00
Jim Blandy
39acc701e6 * frame.c (Fframe_parameters): Report the `minibuffer' parameter of
minibufferless frames as nil, not `none'.
	(Qnone): Remove declaration and initialization for this.  It's not
	needed anymore.
	* xfns.c (Qnone): Add them here; we still accept "none" as a valid
	value for the `minibuffer' parameter.
1993-02-14 14:38:19 +00:00
Jim Blandy
f14b1c68f4 * fileio.c (Fdo_auto_save): If NO_MESSAGE is non-nil, don't tell
users that buffers have shrunk a lot.  This is called when Emacs
	is crashing, so we don't want to run any code that isn't
	absolutely necessary.  Also, autosave buffers which don't have
	specially handled autosave file names first.

	* fileio.c (Fexpand_file_name): Pass DEFALT through
	Fexpand_file_name before using it.

	* fileio.c (Fexpand_file_name): Doc fix.
1993-02-14 14:37:33 +00:00
Jim Blandy
72a8c21efb * s/usg5-4.h: #include "usg5-3.h", not "s-usg5-3.h". 1993-02-14 14:36:14 +00:00
Richard M. Stallman
5fbe2a4458 (Fadd_text_properties): Put OBJECT arg last. Make it optional.
(Fset_text_properties, Fremove_text_properties): Likewise.
(Fnext_single_property_change, Fprevious_single_property_change):
(Fnext_property_change, Fprevious_property_change): Likewise.
(Ferase_text_properties): #if 0.
(Fget_text_property): New function.
1993-02-13 21:56:10 +00:00
Richard M. Stallman
dcb70223ed (C_SWITCH_MACHINE): Don't define if GCC. 1993-02-13 11:34:19 +00:00
Richard M. Stallman
3fff2dfa0c (Finsert_buffer_substring): Proper error for non-ex buffer.
(Fcompare_buffer_substrings): Likewise.
1993-02-11 23:21:01 +00:00
Richard M. Stallman
e9cf2084dd (Fcompare_buffer_substrings): New function. 1993-02-11 06:00:51 +00:00
Richard M. Stallman
945807a338 (char_ins_del_cost): Use FRAME_WIDTH, not FRAME_HEIGHT. 1993-02-10 06:14:12 +00:00
Richard M. Stallman
9fa4395de7 (extra_keyboard_modifiers): New Lisp var.
(read_char): Support ctl and meta bits in extra_keyboard_modifiers.
1993-02-07 00:31:58 +00:00
Richard M. Stallman
64bb1782c4 (XTread_socket): Support extra_keyboard_modifiers. 1993-02-07 00:30:36 +00:00
Jim Blandy
b8baad4034 * window.c (Fscroll_left, Fscroll_right): Don't forget to apply
XWINDOW to selected_window before passing it to window_internal_width.
1993-01-30 01:21:00 +00:00
Jim Blandy
c4e5d591e0 * xmenu.c (Fx_popup_menu): Don't forget to turn the frame-relative
coordinates for the menu position into root-window-relative
	coordinates.
1993-01-29 22:13:36 +00:00
Jim Blandy
5e43ddf5ff * lread.c (read1): Although digits followed by a '.' are an
integer, a single . by itself (like, say, \.) should be a symbol.
1993-01-29 21:32:37 +00:00
Jim Blandy
31ef7f7a89 * fns.c (internal_equal): Protect the clause for comparing numbers
of different tpes with a "#ifdef LISP_FLOAT_TYPE".
1993-01-26 03:05:54 +00:00
Jim Blandy
dbc4e1c129 JimB's changes since January 18th 1993-01-26 01:58:16 +00:00
Richard M. Stallman
55f0149e49 [TERMINFO]: Don't define LIBS_TERMCAP. 1993-01-25 20:12:52 +00:00
Richard M. Stallman
baacd4229e [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
[__GNUC__] (ORDINARY_LINK): Defined.
1993-01-25 20:11:29 +00:00
Jim Blandy
c0ff3fabb8 * xterm.c (x_scrollbar_create): Set the scrollbars to use
EastGravity.

	* frame.c (Fdelete_frame): Clear the frame's display after calling
	the window-system-dependent frame destruction routine.  We
	no longer need to pass the display as a separate argument to
	x_destroy_window.
	* xterm.c (x_destroy_window): Put the code which clears out f's
	display here, right after we free the storage it points to.  Put
	everything, including the code which clears x_focus_frame and
	x_highlight_frame, inside the BLOCK/UNBLOCK_INPUT pair.
1993-01-22 02:47:12 +00:00
Jim Blandy
8678b9ccf5 * frame.c (Fdelete_frame): Clear the frame's display after calling
the window-system-dependent frame destruction routine.  We
	no longer need to pass the display as a separate argument to
	x_destroy_window.
	* xterm.c (x_destroy_window): Put the code which clears out f's
	display here, right after we free the storage it points to.  Put
	everything, including the code which clears x_focus_frame and
	x_highlight_frame, inside the BLOCK/UNBLOCK_INPUT pair.

	* frame.c (Fdelete_frame): Clear the frame's display after calling
	the window-system-dependent frame destruction routine.  We
	no longer need to pass the display as a separate argument to
	x_destroy_window.
	* xterm.c (x_destroy_window): Put the code which clears out f's
	display here, right after we free the storage it points to.  Put
	everything, including the code which clears x_focus_frame and
	x_highlight_frame, inside the BLOCK/UNBLOCK_INPUT pair.
1993-01-22 02:45:16 +00:00
Roland McGrath
46d3268aa2 (Fdisplay_buffer): Doc fix. 1993-01-19 00:56:45 +00:00
Jim Blandy
cf7cb199e5 * xterm.c (x_window_to_scrollbar): Search frames'
condemned_scrollbars list as well; input might arrive during
	redisplay.
	(x_scrollbar_report_motion): Don't forget to BLOCK_INPUT.
	(XTjudge_scrollbars): Clear the condemned scrollbar list before
	traversing it, so we don't try to process an event on a scrollbar
	we've killed.
1993-01-16 05:58:15 +00:00
Richard M. Stallman
22d7cb8974 (Frecent_keys): Doc fix. 1993-01-15 21:57:50 +00:00
Richard M. Stallman
b0c33a9470 (Fwindow_at): Doc fix. 1993-01-14 21:20:01 +00:00