1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

47 commits

Author SHA1 Message Date
Richard M. Stallman
7523d17c54 (Fsubstitute_command_keys): Add missing describe_map_tree argument. 1997-07-12 06:44:49 +00:00
Richard M. Stallman
912e8480b7 (get_doc_string): Move static vars outside the function,
and rename to get_doc_string_buffer and get_doc_string_buffer_size.
1996-02-22 18:21:03 +00:00
Richard M. Stallman
0fded513b9 (get_doc_string): Always read entire disk blocks. 1996-02-12 09:49:01 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Erik Naggum
4acb738e57 (Fdocumentation, Fdocumentation_property, Fsubstitute_command_keys):
Harmonize arguments with documentation.
1996-01-09 00:31:22 +00:00
Richard M. Stallman
ae44f7a443 (Fdocumentation): Reject a file reference
at the end of a lambda body.
1995-11-11 23:48:53 +00:00
Richard M. Stallman
b0053d118b (Fsubstitute_command_keys): Pass new arg to describe_map_tree. 1995-10-19 00:16:29 +00:00
Karl Heuer
f73d11631e (Fsubstitute_command_keys):
Check Voverriding_terminal_local_map before Voverriding_local_map.
1995-06-16 05:19:43 +00:00
Karl Heuer
59d8dc5715 (Fsubstitute_command_keys): Cast arg of describe_map_tree. 1995-05-26 02:52:36 +00:00
Richard M. Stallman
a039f5340b (get_doc_string): Add cast. 1995-04-14 18:28:45 +00:00
Richard M. Stallman
0c00bc70d8 (get_doc_string): In (STRING . INTEGER), if INTEGER
is negative, negate it.
1995-04-07 07:18:00 +00:00
Roland McGrath
f9b4aacf1b Fix typo in last change. 1995-01-05 07:45:50 +00:00
Roland McGrath
610f41b751 (store_function_docstring, Fdocumentation): Use & PSEUDOVECTOR_SIZE_MASK on
`size' field of compiled byte-code object.
1995-01-05 07:11:54 +00:00
Richard M. Stallman
e343d389ac (store_function_docstring): Arg is now EMACS_INT. 1995-01-04 07:19:10 +00:00
Richard M. Stallman
700ea80976 (get_doc_string): Now static. Arg now Lisp_Object.
Allow (FILE . POS) as position argument.
(Fdocumentation, Fdocumentation_property): Fix calls to get_doc_string.
(Fdocumentation_property): Handle cons as value via get_doc_string.
(read_doc_string): New function.
1994-12-21 18:16:35 +00:00
Karl Heuer
5b5f688358 (Fdocumentation): Use type test macros. 1994-11-18 02:10:19 +00:00
Karl Heuer
81c1bd20f7 (Fdocumentation): Use NATNUMP instead of its expansion. 1994-11-16 01:03:33 +00:00
Karl Heuer
2ee7863a14 (store_function_docstring): Don't use XFASTINT as an lvalue. 1994-10-04 15:48:16 +00:00
Karl Heuer
e6d12642a8 (get_doc_string, Fdocumentation, Fdocumentation_property,
store_function_docstring, Fsnarf_documentation): Use type test macros.
1994-09-27 03:06:52 +00:00
Richard M. Stallman
778d47c737 (get_doc_string): Look in ../etc while dumping.
(munge_doc_file_name): New subroutine.
1994-09-25 17:42:55 +00:00
Richard M. Stallman
f0f787b8b8 (Fdocumentation): Use EMACS_INT. 1994-09-17 00:29:03 +00:00
Richard M. Stallman
a1943c34bb (store_function_docstring): Do nothing for bytecode object
which has no slot for doc string.
1994-08-17 20:06:55 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Richard M. Stallman
29beb080a9 [HAVE_UNISTD_H]: Include unistd.h. 1994-04-13 22:23:24 +00:00
Karl Heuer
ba87052134 (get_doc_string, Snarf_documentation): Use new variable doc_directory. 1994-02-22 23:49:01 +00:00
Richard M. Stallman
9a425dcb39 (Fsubstitute_command_keys): Pass keymap as that arg
to Fwhere_is_internal.  Init keymap from Voverriding_local_map.
1994-02-04 23:09:25 +00:00
Richard M. Stallman
f8ba73c1c2 (Fsubstitute_command_keys): Pass new arg to describe_map_tree. 1994-01-10 21:30:04 +00:00
Richard M. Stallman
ef586bbd32 (Fsubstitute_command_keys): Fix previous change. 1993-12-31 03:05:39 +00:00
Richard M. Stallman
b6c537745e (Fsubstitute_command_keys): Ignore menu bar bindings.
(Fdocumentation_property): 3 args is maximum.
1993-12-23 01:56:43 +00:00
Richard M. Stallman
5778daa93e (Fsubstitute_command_keys): Pass new arg to insert_from_string. 1993-09-14 12:10:02 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Jim Blandy
fc593b0589 * doc.c (Fsubstitute_command_keys): Pass all five arguments to
describe_map_tree.
1993-07-06 06:16:20 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
9ac0d9e041 Put interrupt input blocking in a separate file from xterm.h.
This isn't specific to X, and it allows us to avoid #including
	xterm.h in files that don't really have anything to do with X.
	* blockinput.h: New file.
	* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
	UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
	(x_input_blocked, x_pending_input): Deleted; there are analogs
	in blockinput.h called interrupt_input_blocked and
	interrupt_input_pending.
	* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
	New variables, used by the macros in blockinput.h.
	* xterm.c: #include blockinput.h.
	(x_input_blocked, x_pending_input): Deleted.
	(XTread_socket): Test and set interrupt_input_blocked and
	interrupt_input_pending instead of the old variables.
	* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
	#include blockinput.h.
	* eval.c: #include blockinput.h instead of xterm.h.
	* keyboard.c: #include blockinput.h.
	(input_poll_signal): Just test
	interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
	x_input_blocked.

	Block the processing of interrupt input while we're manipulating the
	malloc heap.
	* alloc.c: (xfree): New function, to make it easy to free things
	safely.
	(xmalloc, xrealloc): Block X input while doing the deed.
	(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
	instead of free.
	(uninterrupt_malloc): New function, to install input-blocking
	hooks into the GNU malloc routines.
	* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
	on startup.
	* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
	Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
	Use xmalloc instead of malloc; don't bother to check if out of
	memory here.
	(Fgarbage_collect): Call xrealloc instead of realloc.
	* buffer.c: Use xmalloc and xfree instead of malloc and free;
	don't bother to check if out of memory here.
	(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
	calls to ralloc routines.
	* insdel.c: Same.
	* lisp.h (xfree): New extern declaration.
	* xfaces.c (xfree): Don't #define this to be free; use the
	definition in alloc.c.
	* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
	xmenu.c, xterm.c: Use xfree instead of free.
	* hftctl.c: Use xfree and xmalloc instead of free and malloc.
	* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
	and malloc.
	* search.c: Since the regexp routines can malloc, BLOCK_INPUT
	while runing them.  #include blockinput.h.
	* sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
	of free and malloc.  BLOCK_INPUT around routines which we know
	will call malloc.

	ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
	xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
	these depend on blockinput.h.
1993-03-31 10:55:33 +00:00
Jim Blandy
283e1184f3 * doc.c (store_function_docstring): New function, made from part
of Fsnarf_documentation, which handles docstrings for macros
	properly.
	(Fsnarf_documentation): Call store_function_docstring.
1992-12-06 22:16:26 +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
2bda628c55 * doc.c (Fsnarf_documentation): Signal an error if this is
called in a dumped Emacs.
1992-09-13 12:20:40 +00:00
Jim Blandy
9fbfa962b9 * doc.c (Vdata_directory): Removed; this is declared in callproc.c.
(syms_of_doc): Initialization removed.
1992-08-12 13:41:17 +00:00
Joseph Arceneaux
e6d38bed7e Declared Vdata_directory. 1992-08-06 03:25:23 +00:00
Jim Blandy
502ddf238f entered into RCS 1992-05-18 08:13:37 +00:00
Jim Blandy
0856496329 *** empty log message *** 1992-04-01 11:14:15 +00:00
Jim Blandy
956ace37a8 *** empty log message *** 1992-03-14 19:09:32 +00:00
Roland McGrath
ee04dc54f4 *** empty log message *** 1992-03-06 23:46:21 +00:00
Jim Blandy
265a9e559d *** empty log message *** 1992-01-13 21:48:08 +00:00
Jim Blandy
6367dc09a1 *** empty log message *** 1991-12-19 17:24:45 +00:00
Richard M. Stallman
992d176e38 *** empty log message *** 1991-07-03 02:10:22 +00:00
Jim Blandy
c6045832a1 Initial revision 1991-06-25 20:50:00 +00:00