aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
Commit message (Collapse)AuthorAgeFilesLines
...
* (get_doc_string): When UNIBYTE and DEFINITION are 0,Richard M. Stallman1999-04-061-2/+9
| | | | let the data control whether string is unibyte.
* (Fdocumentation): Change the doc string for prefixAndreas Schwab1998-12-211-2/+1
| | | | commands to make it a complete sentence in one line.
* (Fdocumentation): Specify UNIBYTE = 0Richard M. Stallman1998-08-021-2/+2
| | | | when calling get_doc_string for a compiled function.
* (get_doc_string): Take both UNIBYTE and DEFINITION as args.Richard M. Stallman1998-07-051-27/+20
| | | | All callers changed.
* (get_doc_string): Take both UNIBYTE and DEFINITION as args.Richard M. Stallman1998-06-241-10/+17
| | | | All callers changed.
* (get_doc_string): 2nd arg is now DEFINITION;Richard M. Stallman1998-06-241-10/+40
| | | | | if non-nil, read a dynamic function definition. (read_doc_string): Don't call read here.
* (get_doc_string): Make non-static.Richard M. Stallman1998-05-281-1/+1
|
* (get_doc_string): New arg UNIBYTERichard M. Stallman1998-05-121-10/+17
| | | | | Maybe use make_unibyte_string. All callers changed. (read_doc_string): Specify 1 for UNIBYTE.
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-0/+1
|
* (Fsubstitute_command_keys): Use make_string_from_bytes.Richard M. Stallman1998-03-211-1/+1
|
* Use STRING_BYTES and SET_STRING_BYTES.Richard M. Stallman1998-03-211-7/+7
|
* (Fsubstitute_command_keys): Declare length_byte out ofKenichi Handa1998-01-301-3/+1
| | | | internal block.
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* Include charset.h.Richard M. Stallman1998-01-091-17/+67
| | | | (Fsubstitute_command_keys): Scan by bytes.
* (Fsubstitute_command_keys): Add missing describe_map_tree argument.Richard M. Stallman1997-07-121-2/+2
|
* (get_doc_string): Move static vars outside the function,Richard M. Stallman1996-02-221-16/+22
| | | | and rename to get_doc_string_buffer and get_doc_string_buffer_size.
* (get_doc_string): Always read entire disk blocks.Richard M. Stallman1996-02-121-39/+24
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (Fdocumentation, Fdocumentation_property, Fsubstitute_command_keys):Erik Naggum1996-01-091-23/+23
| | | | Harmonize arguments with documentation.
* (Fdocumentation): Reject a file referenceRichard M. Stallman1995-11-111-2/+7
| | | | at the end of a lambda body.
* (Fsubstitute_command_keys): Pass new arg to describe_map_tree.Richard M. Stallman1995-10-191-1/+1
|
* (Fsubstitute_command_keys):Karl Heuer1995-06-161-1/+3
| | | | Check Voverriding_terminal_local_map before Voverriding_local_map.
* (Fsubstitute_command_keys): Cast arg of describe_map_tree.Karl Heuer1995-05-261-1/+1
|
* (get_doc_string): Add cast.Richard M. Stallman1995-04-141-1/+1
|
* (get_doc_string): In (STRING . INTEGER), if INTEGERRichard M. Stallman1995-04-071-1/+6
| | | | is negative, negate it.
* Fix typo in last change.Roland McGrath1995-01-051-2/+2
|
* (store_function_docstring, Fdocumentation): Use & PSEUDOVECTOR_SIZE_MASK onRoland McGrath1995-01-051-4/+4
| | | | `size' field of compiled byte-code object.
* (store_function_docstring): Arg is now EMACS_INT.Richard M. Stallman1995-01-041-1/+2
|
* (get_doc_string): Now static. Arg now Lisp_Object.Richard M. Stallman1994-12-211-28/+149
| | | | | | | 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.
* (Fdocumentation): Use type test macros.Karl Heuer1994-11-181-18/+17
|
* (Fdocumentation): Use NATNUMP instead of its expansion.Karl Heuer1994-11-161-2/+2
|
* (store_function_docstring): Don't use XFASTINT as an lvalue.Karl Heuer1994-10-041-2/+2
|
* (get_doc_string, Fdocumentation, Fdocumentation_property,Karl Heuer1994-09-271-14/+12
| | | | store_function_docstring, Fsnarf_documentation): Use type test macros.
* (get_doc_string): Look in ../etc while dumping.Richard M. Stallman1994-09-251-19/+49
| | | | (munge_doc_file_name): New subroutine.
* (Fdocumentation): Use EMACS_INT.Richard M. Stallman1994-09-171-2/+2
|
* (store_function_docstring): Do nothing for bytecode objectRichard M. Stallman1994-08-171-4/+2
| | | | which has no slot for doc string.
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* [HAVE_UNISTD_H]: Include unistd.h.Richard M. Stallman1994-04-131-0/+4
|
* (get_doc_string, Snarf_documentation): Use new variable doc_directory.Karl Heuer1994-02-221-6/+6
|
* (Fsubstitute_command_keys): Pass keymap as that argRichard M. Stallman1994-02-041-2/+8
| | | | to Fwhere_is_internal. Init keymap from Voverriding_local_map.
* (Fsubstitute_command_keys): Pass new arg to describe_map_tree.Richard M. Stallman1994-01-101-1/+1
|
* (Fsubstitute_command_keys): Fix previous change.Richard M. Stallman1993-12-311-3/+6
|
* (Fsubstitute_command_keys): Ignore menu bar bindings.Richard M. Stallman1993-12-231-1/+10
| | | | (Fdocumentation_property): 3 args is maximum.
* (Fsubstitute_command_keys): Pass new arg to insert_from_string.Richard M. Stallman1993-09-141-1/+1
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* * doc.c (Fsubstitute_command_keys): Pass all five arguments toJim Blandy1993-07-061-1/+1
| | | | describe_map_tree.
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* Put interrupt input blocking in a separate file from xterm.h.Jim Blandy1993-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * doc.c (store_function_docstring): New function, made from partJim Blandy1992-12-061-35/+50
| | | | | | of Fsnarf_documentation, which handles docstrings for macros properly. (Fsnarf_documentation): Call store_function_docstring.
* * doc.c: #include keyboard.h.Jim Blandy1992-10-311-8/+17
| | | | | | | | | * 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.