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

2512 commits

Author SHA1 Message Date
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
6101b31fb0 (byte-compile, byte-compile-keep-pending)
(byte-compile-file-form-defmumble): Generate define-function
rather than fset, to install definitions for defun, defmacro, etc.
1993-04-17 01:26:24 +00:00
Richard M. Stallman
2b86d62c8f entered into RCS 1993-04-16 23:43:57 +00:00
Eric S. Raymond
0f8becaa42 Add defvars to pacify the byte compiler, at RMS's request. 1993-04-16 19:36:29 +00:00
Eric S. Raymond
a4ef658478 (diff-parse-differences): Small robustification --- don't lose if we
call this with compilation-parsing-end nil
1993-04-16 19:35:22 +00:00
Eric S. Raymond
17e2c564c7 (shrink-window-if-larger-than-buffer): Moved to window.el. 1993-04-16 19:23:21 +00:00
Noah Friedman
8ae3bc9f18 *** empty log message *** 1993-04-16 13:06:01 +00:00
Richard M. Stallman
3dbae1e48e Don't include Xmu/Drawing.h. 1993-04-15 21:40:01 +00:00
Richard M. Stallman
30c9c6d750 (resume-suspend-hook): Renamed from resume-empty-args-file. 1993-04-14 21:44:04 +00:00
Richard M. Stallman
078380acff (resume-empty-args-file): Renamed from empty-args-file.
Add autoload cookie.
(resume-emacs-args-buffer): Renamed.
(resume-write-buffer-to-file): Renamed.
1993-04-14 21:41:27 +00:00
Roland McGrath
e2b6138f10 (update-file-autoloads, update-directory-autoloads): If called
interactively, save generated-autoload-file when done.
1993-04-14 19:56:19 +00:00
Richard M. Stallman
5c2946c73b (makefile-mode): Fix typo in autoload cookie. 1993-04-14 19:47:05 +00:00
Richard M. Stallman
b68c164d27 Doc fixes. 1993-04-14 19:40:53 +00:00
Eric S. Raymond
45025813de (gud-mode): Created C-c synonym bindings in the GUD buffer's local map.
(gud-key-prefix): Changed to C-x C-a.
1993-04-14 16:41:51 +00:00
Eric S. Raymond
9141bec098 Name changed from sun-cursors.el to protect the innocents. 1993-04-14 16:38:49 +00:00
Eric S. Raymond
3aee11cd33 Name changed to fit in a 14-character limit. 1993-04-14 16:33:20 +00:00
Eric S. Raymond
a0900d9fca (shrink-window-if-larger-than-buffer): Moved from electric.el to windows.el,
minor bug fix.  This is to avoid code duplication between vc.el,
electric.el, and finder.el.

(ctl-x-map): Added C-x - and C-x + as bindings for
shrink-window-if-larger-than-buffer and balance-windows respectively.
Since shrink-window-if-larger-than-buffer has to live here anyhow, let
users use it to manage screen space.
1993-04-14 03:34:44 +00:00
Eric S. Raymond
64e07c7ba7 (lm-commentary-region): Gone.
(lm-commentary): New function.
1993-04-14 03:34:42 +00:00
Eric S. Raymond
101dad14a5 Rewritten. The Finder is now a major mode with the ability to browse
package commentary sections.
1993-04-14 03:34:39 +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
Richard M. Stallman
342df1e247 (rot13-display-table): Use vector', not make-rope'. 1993-04-12 07:54:16 +00:00
Richard M. Stallman
82093c705b Use vector', not make-rope'. 1993-04-12 07:54:04 +00:00
Richard M. Stallman
8931b34ae2 (rot13-other-window): Add autoload. 1993-04-12 07:49:31 +00:00
Richard M. Stallman
4e7afa864d (find-file-noselect): Verify other buffers' file numbers are still valid. 1993-04-11 21:22:35 +00:00
Richard M. Stallman
e407986c56 (fill-nonuniform-paragraphs): New command. 1993-04-11 04:02:23 +00:00
Eric S. Raymond
81937af25a (gdb, sdb, dbx): Improved prompting a la grep. 1993-04-10 14:28:05 +00:00
Eric S. Raymond
735b306168 Clean up cmu* uses in header comments. 1993-04-10 14:27:54 +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
8ba83d8852 * configure.in: Don't set CC to "gcc -O" if the user specifies
`--with-gcc'.  Add -O to DEFS if GCC is set.
1993-04-10 08:30:27 +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
Jim Blandy
9a5336ae36 * subr.el (overlay-start, overlay-end, overlay-buffer): New
defsubsts.
1993-04-10 06:21:55 +00:00
Jim Blandy
51534471f6 Sat Apr 10 00:39:29 1993 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* paragraphs.el (sentence-end, forward-sentence): Doc fixes.
1993-04-10 06:21:16 +00:00
Jim Blandy
f5a168237e * finder.el (finder-by-keyword): Build an alist to pass to
completing-read, instead of building an invalid obarray.

	* finder.el (finder-by-keyword): If the user quits or enters the
	empty string in response to the keyword prompt, restore the old
	window configuration properly.
1993-04-10 06:20:55 +00:00
Jim Blandy
51509df90c * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS. 1993-04-10 06:16:34 +00:00
Jim Blandy
d1b985ec39 * make-dist: Distribute lib-src/rcs-checkin. 1993-04-10 06:04:53 +00:00
Jim Blandy
7d99494c50 * configure.in: When checking for X windows, search for an X11
subdirectory of ${x_includes}.

	* configure.in: Check for gettimeofday function, for getdate.y.

        Change `configure' to a mixture of custom code and autoconf stuff.
	autoconf can't derive all the information we need, but we'd really
	like to be able to take advantage of some of its tests, and its
	file-editing facilities.
	* configure.in: Renamed from configure.
	Quote the sections of shell script we want copied literally to
	the configure script.
	(compile): Initialize this to make the autoconf macros' code happy.
	Use AC_PROG_CC, AC_CONST, and AC_RETSIGTYPE instead of writing out
	code to do their jobs.
	Use autoconf to produce Makefile and src/config.h.
	Remove the Makefile-style comment that autoconf places at the top
	of src/config.h.
	(config_h_opts): Removed - no longer necessary.
	* Makefile.in (configname): Renamed to configuration.
	(CONFIG_CFLAGS): Renamed to DEFS.
	(CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjusted to
	get values via autoload @cookies@.
	(libsrc_libs): Get this from autoconf.  We used to do nothing
	about this.
	(${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS.
1993-04-10 06:02:36 +00:00
Jim Blandy
c75ff9db20 * Makefile.in (clean mostlyclean): Missing right paren.
Change `configure' to a mixture of custom code and autoconf stuff.
	autoconf can't derive all the information we need, but we'd really
	like to be able to take advantage of some of its tests, and its
	file-editing facilities.
	* configure.in: Renamed from configure.
	Quote the sections of shell script we want copied literally to
	the configure script.
	(compile): Initialize this to make the autoconf macros' code happy.
	Use AC_PROG_CC, AC_CONST, and AC_RETSIGTYPE instead of writing out
	code to do their jobs.
	Use autoconf to produce Makefile and src/config.h.
	Remove the Makefile-style comment that autoconf places at the top
	of src/config.h.
	(config_h_opts): Removed - no longer necessary.
	* Makefile.in (configname): Renamed to configuration.
	(CONFIG_CFLAGS): Renamed to DEFS.
	(CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjusted to
	get values via autoload @cookies@.
	(libsrc_libs): Get this from autoconf.  We used to do nothing
	about this.
	(${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS.

	* Makefile.in (src/paths.h, lib-src/Makefile, src/Makefile): Don't
	echo the move-if-change command.
1993-04-10 06:01:49 +00:00
Tom Wood
88013905b6 > Default to bsd if vendor is next. 1993-04-09 23:43:20 +00:00
Eric S. Raymond
f3613f5bb5 (emerge-with-ancestor): Applied Donald Erway's fix patch, which
included the following explanatory comment: "D.Erway - This used to
just do emerge-get-diff3-group on 2, then on 3. This was incorrect,
since the file 3 info for a diff can preceed the file 2 info for that
same diff. So we save and restore point to overcome this.
1993-04-09 23:17:05 +00:00