1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 00:31:01 -08:00
Commit graph

1139 commits

Author SHA1 Message Date
Jim Blandy
d620fb0c44 * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and
':' elsewhere, just have it default to ':' if not #defined, and
	#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
	* s/vms.h (SEPCHAR): #define this to be ','.
	* s/template.h (SEPCHAR): Mention this.

	* s/vms.h (xfree): #define this to emacs_xfree, to avoid case
	conflict with XFree; on VMS, external symbols are case-insensitive.
1993-05-04 00:28:07 +00:00
Jim Blandy
4e4726bc25 * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h,
m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
	configure script.
	* s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed;
	derived by configure script.

	* s/usg5-4.h (HAVE_GETTIMEOFDAY): Deleted; ../configure figures
	that out now.
1993-05-04 00:27:23 +00:00
Jim Blandy
d4198db9a7 * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and
':' elsewhere, just have it default to ':' if not #defined, and
	#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
	* s/vms.h (SEPCHAR): #define this to be ','.
	* s/template.h (SEPCHAR): Mention this.
1993-05-04 00:26:43 +00:00
Jim Blandy
0efd16a9f7 * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h,
m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
	configure script.
	* s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed;
	derived by configure script.
1993-05-04 00:26:07 +00:00
Jim Blandy
c1be1b3079 Initial revision 1993-05-01 21:53:52 +00:00
Richard M. Stallman
7df3061492 (Fsuspend_emacs): Doc fix. 1993-05-01 13:20:55 +00:00
Jim Blandy
b0bef8c52f *** empty log message *** 1993-04-30 16:42:24 +00:00
Richard M. Stallman
e5f920d7e9 (Fthis_command_keys): Doc fix. 1993-04-29 16:49:24 +00:00
Richard M. Stallman
68a752206e (wait_reading_process_input): Move the status_notify
call before the set_waiting_for_input call.
1993-04-29 15:57:17 +00:00
Richard M. Stallman
eabf01d460 (Fexpand_file_name): Undo last change--too risky for now. 1993-04-29 13:17:56 +00:00
Richard M. Stallman
d9bcdb34a0 (Fdefine_function): New function (same code as Fdefalias). 1993-04-29 13:12:37 +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
Eric S. Raymond
5739ce6baf (do_autoload): Fixed the bug in the autoload-saving code. 1993-04-28 17:08:18 +00:00
Eric S. Raymond
ac669fa2a9 (un_autoload): Don't try to save old autoload forms when we load something
in.  Something about the code now conditioned out by UNLOAD was screwing
up ordinary autoloads, notably of picture.el.  When I figure out what, I'll
fix and re-enable this code.
1993-04-27 21:59:59 +00:00
Roland McGrath
f1cc678fdc (Fexpand_file_name): Don't remove trailing / from NEWDIR if just "/". 1993-04-26 21:54:00 +00:00
Eric S. Raymond
57ef1664fe (read_pending_input): Fix the garbaged-modifiers bug under System Vs previous
to r4.
1993-04-26 05:15:13 +00:00
Eric S. Raymond
270967b219 (Fset-window-buffer): Set horizontal-scrolling on a window to zero when
we connect it to a new buffer.
1993-04-25 06:15:18 +00:00
Eric S. Raymond
a97c374aa7 (Qmode-line-format): Describe %l in the doc string. 1993-04-25 06:14:25 +00:00
Eric S. Raymond
80df38a283 (Fdefine_function): Changed name back to Fdefalias, so we get things
in a known-good state.
1993-04-23 03:40:03 +00:00
Eric S. Raymond
e12f351912 (BUF_NARROWED, NARROWED): New macros to test whether a region
restriction has narrowed the buffer.
1993-04-23 03:06:10 +00:00
Richard M. Stallman
8872923579 Comment fixes. 1993-04-17 06:45:29 +00:00
Richard M. Stallman
fc08c36736 (Fdefine_function): New function. 1993-04-17 01:29:48 +00:00
Richard M. Stallman
2a49b6e519 (defun, defmacro, defvar, defconst):
Attach symbol argument to the list of globals for the input source.
(do_autoload): Save the old autoloads, in case we ever unload.
1993-04-17 01:28:10 +00:00
Richard M. Stallman
68732608c8 (provide, require): Put appropriately-marked
conses in the current-globals list.
1993-04-17 01:27:53 +00:00
Richard M. Stallman
ae321d283e (readevalloop): New argument is the source file name (or nil if none).
All calls changed.  Do the two-step
necessary to call build_load_history with the correct current-globals
list for the current recursion.
(build_load_history): New function.
(eval_region, eval_buffer): Call readevalloop with new arg.
(load_history): New variable.
1993-04-17 01:27:37 +00:00
Richard M. Stallman
3dbae1e48e Don't include Xmu/Drawing.h. 1993-04-15 21:40:01 +00:00
Richard M. Stallman
c4f14ccbdc (message, message1): If noninteractive and
cursor_in_echo_area, don't print a newline at end of message.
1993-04-13 05:54:19 +00:00
Richard M. Stallman
09c9587416 (Fy_or_n_p): Echo the answer just once, at exit. 1993-04-13 05:54:00 +00:00
Jim Blandy
55bd4cbcb5 * Makefile.in (xmakefile): Recognize the -O option with a numeric
optimization level.

	* ymakefile (C_DEBUG_SWITCH): If we're using version 2 of GCC or
	higher, use -O99 instead of plain -O.
1993-04-10 08:31:28 +00:00
Jim Blandy
51cf3e317c long_to_cons and cons_to_long are generally useful things; they're
needed whether or not X is defined.
	* xselect.c (long_to_cons, cons_to_long): Moved from here...
	* data.c    (long_to_cons, cons_to_long): ... to here.
	* lisp.h    (long_to_cons, cons_to_long): Add extern declaration.
1993-04-10 08:05:07 +00:00
Jim Blandy
6904bdcd08 Since Qmenu_enable is used by non-X-specific code, it shouldn't be
defined in an X-only source file.
	* xmenu.c (Qmenu_enable): Definition moved...
	(syms_of_xmenu): ... along with initialization ...
	* keyboard.c (Qmenu_enable): ... to here ...
	(syms_of_keyboard): ... and here.
1993-04-10 08:04:27 +00:00
Jim Blandy
367bf23780 * xfaces.c (sort_overlays): Define this to be static, as declared. 1993-04-10 08:03:51 +00:00
Jim Blandy
598a9fa704 * keyboard.c (command_loop_1): Rebuild menu bar if
update_mode_lines is set.

        Since Qmenu_enable is used by non-X-specific code, it shouldn't be
	defined in an X-only source file.
	* xmenu.c (Qmenu_enable): Definition moved...
	(syms_of_xmenu): ... along with initialization ...
	* keyboard.c (Qmenu_enable): ... to here ...
	(syms_of_keyboard): ... and here.

	* keyboard.c (kbd_buffer_get_event): If we get a selection clear
	or selection request event, but we were compiled without the
	window-system-specific code to handle it, abort.  Don't try to
	call a function which doesn't exist.

	* keyboard.c (make_lispy_event): In the code which processes mouse
	clicks, declare f to be a FRAME_PTR, not a struct frame *; this
	works when MULTI_FRAME is not #defined.
1993-04-10 08:02:22 +00:00
Jim Blandy
5de9f849e8 * dispnew.c (getenv): Extern declaration deleted; this is done in
config.h.

	* dispnew.c (init_display): Compare the return value of getenv to
	zero before setting display_arg, instead of just using the pointer
	as a truth value.
1993-04-10 08:00:27 +00:00
Jim Blandy
cf91f75467 Adjust for autoconf merger.
* config.h.in: Add extra line to top, in case autoconf gets fixed
	and decides not to add Makefile-style comments to the top of the
	files it generates which we are forced to lop off.
	Indicate that the boolean macros here get their definitions via
	the DEFS Makefile variable.
	Adjust the operating system and machine #includes to use
	autoload's @cookies@.
	(RETSIGTYPE): Give this a default value.
	(SIGTYPE): Set this from RETSIGTYPE.
	(LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@.
	* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
	(xmakefile): Pass CFLAGS to ${CPP}.
1993-04-10 07:59:02 +00:00
Jim Blandy
20c018a065 * callproc.c (relocate_fd): Make messages string literals, not
initialized arrays.
1993-04-10 07:58:30 +00:00
Jim Blandy
5c4f68f179 * buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER
arguments.
	(recenter_overlay_lists): New argument BUF, to use instead of the
	current buffer.
	(Foverlay_recenter): Pass the appropriate arguments to
	recenter_overlay_lists.

	* buffer.c (Fdelete_overlay): Don't assume that overlay is in the
	current buffer.  Don't forget to declare the argument a Lisp_Object.
1993-04-10 07:57:57 +00:00
Jim Blandy
b0846f520d * alloc.c (__malloc_hook, __realloc_hook, __free_hook): Declare
these extern, not static.  (!)

	* alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook,
	old_realloc_hook): Declare that the functions these point to return
	void *, not void.
1993-04-10 07:57:21 +00:00
Jim Blandy
5f1a4d4164 Adjust for autoconf merger.
* config.h.in: Add extra line to top, in case autoconf gets fixed
	and decides not to add Makefile-style comments to the top of the
	files it generates which we are forced to lop off.
	Indicate that the boolean macros here get their definitions via
	the DEFS Makefile variable.
	Adjust the operating system and machine #includes to use
	autoload's @cookies@.
	(RETSIGTYPE): Give this a default value.
	(SIGTYPE): Set this from RETSIGTYPE.
	(LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@.
	* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
	(xmakefile): Pass CFLAGS to ${CPP}.

	* Makefile.in (tagsfiles): Remove external-lisp from this list of
	files; we're not distributing it, so the normal build process
	shouldn't depend on it.
1993-04-10 07:53:50 +00:00
Jim Blandy
4bafa97229 * keyboard.c (echo_dash): Do nothing if echoptr is 0. 1993-04-10 07:45:07 +00:00
Richard M. Stallman
542143d701 (Fkill_all_local_variables): Store each var's current value
in the buffer's alist entry, before reverting to the default value.
1993-04-08 07:10:42 +00:00
Jim Blandy
e7062f1927 * keyboard.c (apply_modifiers): Fix typo in sanity check. 1993-04-08 00:14:50 +00:00
Jim Blandy
63927c4191 * keyboard.c (interrupt_input_blocked, interrupt_input_pending):
Remove `extern' keywords - these are the definitions.
1993-04-07 23:54:28 +00:00
Richard M. Stallman
d014bf88d3 Include blockinput.h. 1993-04-07 22:11:21 +00:00
Richard M. Stallman
6183695522 (interrupt_input_blocked): Make this signed int. 1993-04-07 22:09:23 +00:00
Richard M. Stallman
af56dc7eed (UNBLOCK_INPUT): Fix typo. 1993-04-07 20:25:14 +00:00
Richard M. Stallman
42db823b21 (search_buffer): Fix typo in previous change. 1993-04-07 20:08:55 +00:00
Richard M. Stallman
987d2ad1db Fix typo in comment delimiter. 1993-04-07 20:04:50 +00:00
Jim Blandy
9ffaad2e38 * m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
of defining LINKER to use cc.
	* s/aix3-1.h (LINKER): Don't use cc for linking command if we're
	using GCC.
	* s/aix3-2.h (SYSTEM_MALLOC): Undefine this.
1993-04-07 16:36:59 +00:00
Jim Blandy
d0386f2a50 * xterm.c (updating_frame): Declare this extern instead of static,
so it's the same variable as the updating_frame in term.c.
	(XTupdate_begin, XTupdate_end): Don't bother to set
	updating_frame; the term.c functions take care of that for us.
1993-04-07 14:57:22 +00:00