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

1882 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
1ab31687d4 * files.el (revert-buffer): Reverse the sense of the first
argument, but leave interactive usage the same.
	* vc.el (vc-resynch-window): Call vc-revert-buffer1 with the newly
	appropriate arguments.  This seems to be the only file which was
	adjusted for the new meaning of the revert-buffer arguments.
1993-02-22 14:17:16 +00:00
Jim Blandy
6f5191a247 * two-column.el: Add autoloads for the functions defined in
tc-mode-map.
1993-02-22 14:16:48 +00:00
Jim Blandy
37f6661a60 * subr.el (string-to-int): Make this an alias for
string-to-number.
1993-02-22 14:16:25 +00:00
Jim Blandy
ad196291b4 * gud.el (gud-break): With a prefix argument, set a temporary
breakpoint.
	(gud-apply-from-source): New argument ARGS, to pass to FUNC.  Now
	it's really like `apply'.
	(gud-set-break): Add another argument to this method.
	Document it in the section describing how the methods are supposed
	to be used.
	(gud-gdb-set-break): New argument TEMP; if non-nil, set a
	temporary breakpoint.
	(gud-sdb-set-break, gud-dbx-set-break): New argument TEMP.  Ignore
	it, since I don't know how to set a temporary breakpoint in these
	debuggers.

	* gud.el (gud-break): With a prefix argument, set a temporary
	breakpoint.
	(gud-apply-from-source): New argument ARGS, to pass to FUNC.  Now
	it's really like `apply'.
	(gud-set-break): Add another argument to this method.
	Document it in the section describing how the methods are supposed
	to be used.
	(gud-gdb-set-break): New argument TEMP; if non-nil, set a
	temporary breakpoint.
	(gud-sdb-set-break, gud-dbx-set-break): New argument TEMP.  Ignore
	it, since I don't know how to set a temporary breakpoint in these
	debuggers.
1993-02-22 14:15:34 +00:00
Jim Blandy
e793672baa * make-dist: Don't distribute the external-lisp directory anymore.
* INSTALL: Remove all references to external-lisp.
1993-02-22 14:12:29 +00:00
Jim Blandy
0443d6ce6d * configure: Detect whether the compiler supports `const'
properly, and edit src/config.h accordingly.

	* configure: Tweak layout of final report.
1993-02-22 14:12:11 +00:00
Jim Blandy
ec054e3328 * Makefile.in (${SUBDIR}): Pass CONFIG_CFLAGS to the submakes, not
CFLAGS.

	* Makefile.in (locallisppath): Make this default to
	${datadir}/emacs/site-lisp, instead of
	${datadir}/emacs/local-lisp.  ${datadir} and ${statedir} are often
	the same thing, and local-lisp causes completion conflicts with
	lock.
	(lisppath): Add ${externallispdir} to this.
	* INSTALL: Adjust installation directions.

	* Makefile.in (externallispdir): New variable, to say where to
	install the externally-maintained lisp files.
	(COPYDIR, COPYDESTS): Copy the external lisp directory just like
	the others.
	* INSTALL: Describe external-lisp and the new externallispdir
	variable.
1993-02-22 14:11:28 +00:00
Jim Blandy
35a37ee74e Initial revision 1993-02-22 06:38:45 +00:00
Richard M. Stallman
b34429f8ea (esc-map, ctl-x-map): Define as functions. 1993-02-21 06:29:09 +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
8ada529bea (super-apropos-check-doc-file): Look for DOC file in proper directory. 1993-02-20 23:12:21 +00:00
Richard M. Stallman
e41ae81fbf (Fmemory_limit): Doc fix. 1993-02-20 17:36:06 +00:00
Richard M. Stallman
406e12d963 (insert-directory): Doc fix. 1993-02-20 06:23:08 +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
4591cb9059 (describe-function): Print the arglist if the function is bytecode or a list. 1993-02-19 05:06:28 +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
4ae7d00a1e Fix minor bugs in previous change. 1993-02-17 21:30:25 +00:00
Roland McGrath
7e4263eb77 (generate-file-autoloads): If no buffer was visiting FILE when we started,
kill the buffer we create.
1993-02-17 21:30:21 +00:00
Richard M. Stallman
eceee2c04a (isearch-backward-regexp):
New arg no-recursive-edit, always non-nil for interactive call.
Rename first arg, and set it right in interactive call.
(isearch-forward-regexp): Likewise.
(isearch-forward, isearch-backward): Likewise no-recursive-edit.
1993-02-17 20:34:20 +00:00
Richard M. Stallman
b890df1a7a (byte-compile-lambda): Test of byte-compile-compatibility was backwards. 1993-02-17 20:29:57 +00:00
Richard M. Stallman
8290babd65 (frame-initialize): Fix error syntax.
(toggle-horizontal-scroll-bar): Likewise.
(toggle-horizontal-scroll-bar): Renamed from set-horizontal-bar
(toggle-vertical-scroll-bar): Likewise.
(toggle-auto-lower, toggle-auto-raise): Likewise.
(set-foreground-color, set-background-color):
Renamed from set-frame-{fore,back}ground.
1993-02-16 06:36:30 +00:00
Jim Blandy
4b3ed5e7ae * informat.el (Info-tagify): Correct the regular expression which
recognizes node names to work properly with Emacs 19 regex.
1993-02-16 00:23:06 +00:00
Richard M. Stallman
92966e6f18 (find-file-hooks): Delete permanent-local property.
(find-file-not-found-hooks): Likewise.
1993-02-15 19:02:55 +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
Jim Blandy
d2ec895603 * subr.el (mod): Add back this alias for %. 1993-02-14 14:35:19 +00:00
Jim Blandy
37c0ad585e * rmailout.el (rmail-output, rmail-output-to-mail-file): Reverse
the order of the arguments and make COUNT optional, for backward
	compatibility's sake.
1993-02-14 14:34:47 +00:00