1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Jim Blandy
d084e9427f * search.c (Fstore_match_data): Don't assume Flength returns an
integer.
1992-10-31 05:38:19 +00:00
Jim Blandy
f97388409e * process.c: (status_convert): Declare this to return a
Lisp_Object at the top of the file.
	(decode_status): Don't untag XCONS (tem)->cdr before storing it in
	tem; tem is a Lisp_Object, too.
	(process_send_signal): Declare this to be static void.  Don't
	return Qnil; nobody cares.
	(sigchld_handler): Use XFASTINT to manipulate p->infd.

	* process.c (pty_process): Variable deleted; it's no longer used.
	(syms_of_process): Don't initialize it.
1992-10-31 05:27:42 +00:00
Jim Blandy
8caf6c73d7 * print.c (print): Cast the frame's address to an integer before
passing it to sprintf to form the frame's printed form.
1992-10-31 05:27:05 +00:00
Jim Blandy
fe0a572112 * minibuf.c (read_minibuf): Use EQ to compare, not ==.
(temp_echo_area_glyphs): Use XFASTINT to assign to
	unread_command_char.
1992-10-31 05:26:29 +00:00
Jim Blandy
3d9b22be4c * lread.c (read_char): Add an extern declaration for this,
indicating that it returns a Lisp_Object.
1992-10-31 05:26:04 +00:00
Jim Blandy
d20c2151e8 * lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist,
Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p,
	Fdirectory_file_name, Ffile_name_directory,
	expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code,
	Fundo_boundary, truncate_undo_list): Add extern declarations for
	these.

	* lisp.h (DEFVARLISP, DEFVARBOOL, DEFVARINT, DEFVARPERBUFFER):
	Removed these definitions; we should be using the versions whose
	names use underscores.
1992-10-31 05:25:29 +00:00
Jim Blandy
d09b20248d * keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume
that Flength returns an integer.

	* keymap.c: Deal with autoloaded keymaps properly.
        (get_keymap_1): Renamed to inner_get_keymap; made
	static.  New argument AUTOLOAD says to pursue autoloads if
	non-zero.
	(Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
	not to perform autoloads.
	(Fdefine_key): Ask get_keymap_1 to perform autoloads.  Since
	autoloading may GC, remember that we have to GCPRO our local
	variables now.
	(Fminor_mode_key_binding): Call get_keymap instead of calling
	get_keymap_1 with equivalent arguments.
1992-10-31 05:24:47 +00:00
Jim Blandy
5bb46ecf6c * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers,
Fmouse_click_p, read_char): Add external declarations for these.
1992-10-31 05:24:03 +00:00
Jim Blandy
f4255cd148 * keyboard.c: #include dispextern.h.
(recursive_edit_unwind, command_loop, Fthis_command_keys): Declare
	these to return Lisp_Objects at the very top of the file, to avoid
	having them implicitly declared as ints.
	(echo_char): Use EQ to compare C to help_char.
	(read_char): Remember to apply XFASTINT to the return value of
	Flength before using it.  Apply XINT to c when clearing its high
	bits and meta bits, and when writing it to the dribble file.
	(read_char_menu_prompt): Use EQ to compare obj with
	menu_prompt_more_char and its control-character analog.
	(read_key_sequence): Declare PROMPT to be char *, not a
	Lisp_Object.  Use the appropriate accessors on keybuf when looking
	for ASCII function key sequences.

	* keyboard.c (echobuf): Make this 300 characters, not 100.  This
	isn't a real fix, but it's quick.

	* keyboard.c (read_char): When returning an unread switch-frame
	event, jump to reread_first to return it, rather than reread; this
	makes sure the event gets echoed (if appropriate) and goes into
	this_command_keys.

	* keyboard.c (read_key_sequence): If the key sequence starts with
	a mouse click, read the key sequence using the keymaps of the
	buffer clicked on, not the current buffer.

	* keyboard.c (unread_switch_frame): Make this static, to indicate
	that nobody outside of this file uses it.

	* keyboard.c (follow_key): Ask get_keymap_1 to perform autoloads.
	(read_key_sequence): When pursuing potential bindings in the
	function key map, ask get_keymap_1 to perform autoloading.  This
	is hardly important, but it's consistent.
1992-10-31 05:21:45 +00:00
Jim Blandy
bff19c8dd1 * frame.c: #include buffer.h. 1992-10-31 05:20:51 +00:00
Jim Blandy
f812877e01 * fns.c: #include keyboard.h.
(Fdelete): Check if Fequal returns Qnil, not zero.
1992-10-31 05:20:23 +00:00
Jim Blandy
1cee204565 * floatfns.c (Flog): Don't forget to declare the BASE argument a
Lisp_Object.

	* floatfns.c (Fexpt): Don't return the value of the XSET function
	call; that's not guaranteed to be the value assigned.
1992-10-31 05:19:58 +00:00
Jim Blandy
665d304655 * doc.c: #include keyboard.h.
* doc.c (Fsubstitute_command_keys): Ask get_keymap_1 to
	perform autoloads.  Autoloading might GC; we need to GCPRO our
	local variables now.
	(Fdocumentation, Fdocumentation_property): Autoloading in
	Fsubstitute_command_keys might GC; we need to GCPRO our
	local variables now.
1992-10-31 05:18:48 +00:00
Jim Blandy
bf34ebcf25 * dispextern.h (sit_for): Declare this extern. 1992-10-31 05:18:16 +00:00
Jim Blandy
ccbcf97926 * dired.c (find_file_handler): Declare this extern.
(Ffile_attributes): Use NILP, not == Qnil.

	* dired.c (Ffile_attributes): Doc fix.
1992-10-31 05:17:46 +00:00
Jim Blandy
b06faa915c * data.c (Fset): See if current_alist_element points to itself
using EQ, not ==.
	(float_arith_driver): Declare this extern above arith_driver.
1992-10-31 05:17:14 +00:00
Jim Blandy
3cfd58255d * commands.h (unread_command_char): Declare this to be a
Lisp_Object, not an int.
1992-10-31 04:55:35 +00:00
Jim Blandy
d9da9451b5 * casetab.c (set_case_table): Declare this to be static, and
return a Lisp_Object. Add static declaration for this
	before Fset_case_table and Fset_standard_case_table.
	(Fset_case_table, Fset_standard_case_table): Return the return
	value of set_case_table, instead of returning garbage.
1992-10-31 04:55:02 +00:00
Jim Blandy
39fb55ffbd * casefiddle.c (operate_on_word): Declare end to be an int, not a
Lisp_Object.
1992-10-31 04:54:35 +00:00
Jim Blandy
d177f19458 * callproc.c: Arrange for synchronous processes to get SIGINT the
first time the user quits, or SIGKILL if the user quits again.
	#include "syssignal.h".
	(call_process_kill): New function.
	(call_process_cleanup): Send SIGINT to the subprocess, and then
	arrange to call call_process_kill if the user quits while we wait
	for it to terminate.
	(Fcall_process, Fcall_process_region): Doc fix.
1992-10-31 04:53:11 +00:00
Jim Blandy
3b1f62f3ac * bytecode.c (Fbyte_code): Use EQ to compare string_saved with
bytestr.

	* bytecode.c (Fbyte_code): When metering the Bcall opcodes, make
	sure the count on the symbol's `byte-code-meter' property does not
	overflow.

	* bytecode.c (syms_of_bytecode): Add a docstring for
	byte-metering-on.
1992-10-31 04:52:24 +00:00
Jim Blandy
ea47125f68 * buffer.h (Fbuffer_name, Fget_file_buffer): Added external
declarations.

	* buffer.h (struct buffer_local_types): This declaration needed an
	extern qualifier.
1992-10-31 04:51:36 +00:00
Jim Blandy
291026b51f * buffer.c (reset_buffer): Don't assign to b->save_length as if it
were an int; use XFASTINT.
1992-10-31 04:50:51 +00:00
Jim Blandy
5bc1518a3d * alloc.c (Frope_elt): Declare arguments to be Lisp_Objects. 1992-10-31 04:50:13 +00:00
Jim Blandy
4458687ccf * abbrev.c (Funexpand_abbrev): Just assign the last abbrev's value
to val; don't use XSET.  Make sure that the value of the
	abbrev-symbol is a string.
1992-10-31 04:49:31 +00:00
Richard M. Stallman
03e130d5ca (preserved_fns): New var.
(Fcall_interactively): Preserve fns listed in preserved_fns
when they appear in an interactive spec which is a call to `list'.
(syms_of_callint): Set preserved_fns and staticpro it.
1992-10-30 06:01:13 +00:00
Richard M. Stallman
e47b25708b Doc fix. 1992-10-30 05:38:03 +00:00
Richard M. Stallman
e36ba27837 (get_system_name): Use gethostname for USG systems
if HAVE_GETHOSTNAME is defined.
1992-10-29 10:44:50 +00:00
Richard M. Stallman
94aa5d2d37 (count_blanks): Leave argument r constant, and increment p. 1992-10-29 06:29:20 +00:00
Richard M. Stallman
db59472c27 (vc-admin): Pass t as noquery arg to vc-resynch-window. 1992-10-28 09:33:04 +00:00
Richard M. Stallman
66c7840d6b Initial revision 1992-10-28 09:15:05 +00:00
Richard M. Stallman
68431f0bda (HAVE_GETHOSTNAME): Define it. 1992-10-28 09:14:23 +00:00
Richard M. Stallman
6054557352 (HAVE_SETSID, IRIX): Defined.
(HAVE_GETHOSTNAME): Define it.
1992-10-28 09:06:29 +00:00
Jim Blandy
0f6c0bb28e *** empty log message *** 1992-10-28 09:05:06 +00:00
Richard M. Stallman
c00ba92641 (manual-program): Always use /usr/ucb/man if that exists. 1992-10-28 06:04:10 +00:00
Richard M. Stallman
c6cf2c1e4f (fortran-window-create): Use screen-width, not frame-width. 1992-10-27 20:19:00 +00:00
Richard M. Stallman
1c3c9e649f (fortran-prepare-abbrev-list-buffer): Fix typo. 1992-10-27 20:11:05 +00:00
Richard M. Stallman
a36d8f2954 [sony, IRIS_4D]: Include getpagesize.h and fcntl.h.
(unexec): #if 0 the error check of hdr.fhdr.f_nscns.
Clear text_section->s_scnptr.
1992-10-27 19:42:55 +00:00
Richard M. Stallman
e80f214737 (fortran-tab-mode): Add defvar.
(fortran-analyze-file-format): Bind i.
(fortran-tab-mode-string): Add defvar.
(fortran-tab-mode): Use `arg' as variable, not as function.
(fortran-prepare-abbrev-list-buffer): New function.
(fortran-abbrev-help): Call that.
1992-10-27 10:21:22 +00:00
Richard M. Stallman
9e5c2f5022 Rename buffer-flush-undo to buffer-disable-undo.
(Info-goto-emacs-key-command-node): Fix typo.
(Info-menu-item-sequence): Commented out.
(Info-follow-nearest-node): Use new event format.
Select the window clicked on.
1992-10-27 10:14:08 +00:00
Richard M. Stallman
411fca7309 Update LISP_FLOAT_TYPE in config.h. 1992-10-27 09:10:40 +00:00
Richard M. Stallman
f6766fff0a Update GNU_MALLOC and REL_ALLOC in config.h. 1992-10-27 09:07:23 +00:00
Richard M. Stallman
082c7686a3 (shell-command-on-region):
Use region-beginning and region-end, in interactive spec.
1992-10-27 08:48:02 +00:00
Richard M. Stallman
d94307ee86 (isearch-edit-string):
Bind cursor-in-echo-area only around read-char/allocate-event.
1992-10-27 04:11:46 +00:00
Jim Blandy
763ab97aec * make-dist: Copy config.sub, since it's a symbolic link to a file
on another file system.
1992-10-27 00:55:32 +00:00
Richard M. Stallman
624b466297 (vc-resynch-window): New arg NOQUERY. Pass it to vc-revert-buffer1.
(vc-checkout, vc-finish-logentry, vc-revert-buffer, vc-finish-steal):
Supply t as NOQUERY arg for vc-resynch-window.
(vc-next-action): Don't revert workfile from master if buffer is modified.
1992-10-26 05:33:20 +00:00
Christopher Zaborsky
a426b157e7 Dox fix. 1992-10-25 21:14:16 +00:00
Christopher Zaborsky
579e495a70 Doc fix. 1992-10-25 21:05:35 +00:00
Christopher Zaborsky
fe66851582 Doc fix. 1992-10-25 19:44:06 +00:00
Richard M. Stallman
accd90bd67 (vc-prefix-map): Put vc-diff on = and vc-directory on d. 1992-10-24 20:07:08 +00:00