1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 20:30:32 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Jim Blandy
c6cd5420d3 * 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.
1993-02-22 14:45:23 +00:00
Jim Blandy
92cc37e8ce * keymap.c (Fdescribe_vector): Pass the proper number of arguments
to describe_vector.
	* syntax.c (describe_syntax_1): Same.
1993-02-22 14:44:52 +00:00
Jim Blandy
cb5df6ae17 * keyboard.c (init_keyboard): Recognize HAVE_TERMIOS as well as
HAVE_TERMIO.

	* keyboard.c (echo_char): Apply XINT to c before passing it to
	push_key_description.

	* keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
	number of arguments to unbind_to.
	* lread.c (Feval_buffer): Same.
	* window.c (Fscroll_other_window): Same.

	* keyboard.c (command_loop_1): Apply XINT to c before passing it
	to internal_self_insert and direct_output_for_insert.

	* keyboard.c (make_lispy_movement): Rename the variable `part'
	declared in the block handling scrollbar movement to `part_sym',
	to avoid potential conflicts with the argument named `part'.
	Apparently the semantics of expressions like this are unclear.

	* keyboard.c (Fread_key_sequence): Backslash the newlines in this
	docstring.
	* textprop.c (Fget_text_property): Same.
1993-02-22 14:43:44 +00:00
Jim Blandy
074577b8ff * frame.c (Fselect_frame): Set Vlast_event_frame to Qnil after
switching frames, to make sure we'll get a switch-frame event.
	(Vlast_event_frame): Add external declaration for this here.

	* frame.c (Fdelete_frame): If FRAME is a dead frame, return Qnil,
	not nothing.
1993-02-22 14:42:38 +00:00
Jim Blandy
7b8f3b2953 * fns.c (Fequal): Call internal_equal to recurse on elements of
lists and vectors, not Fequal.
1993-02-22 14:41:57 +00:00
Jim Blandy
f8d830994a * floatfns.c (Flogb): Always implement this by calling Flog, even
on non-USG systems, which supposedly have a logb function.
	(Fround): Always implement this by calling floor, even on systems
	that have rint.

	* floatfns.c (IN_FLOAT): Make this work properly when SIGTYPE is void.
1993-02-22 14:41:26 +00:00
Jim Blandy
0e95600962 * 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:40:34 +00:00
Jim Blandy
f0250249f9 * editfns.c (Fmessage): Don't forget to return a value when
args[0] == Qnil.
1993-02-22 14:38:43 +00:00
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