1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-27 23:50:30 -08:00
Commit graph

116 commits

Author SHA1 Message Date
Kim F. Storm
c698360f95 (Fsubstitute_command_keys): Doc fix. 2005-11-11 15:36:36 +00:00
Kim F. Storm
a1d3a18846 (Fsubstitute_command_keys): Lookup key binding for
commands that are remapped from some other command.
2005-09-09 11:55:09 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Thien-Thi Nguyen
64eb0083b1 (munge_doc_file_name) [VMS]: Use NO_HYPHENS_IN_FILENAMES, not VMS4_4.
(Fsnarf_documentation): Call munge_doc_file_name.
2005-03-04 21:59:33 +00:00
Richard M. Stallman
e679a3c1d5 (Fsubstitute_command_keys): Compute list of shadowing maps
for describe_map_tree.  Pass 1 for MENTION_SHADOWS.
2005-02-15 06:36:17 +00:00
Kim F. Storm
9f77d2aaef Include <ctype.h>.
(Fsubstitute_command_keys): Remove unused variable 'firstkey'.
2004-11-09 13:23:00 +00:00
Jan Djärv
d87a9ab893 * doc.c: New variable Vbuild_files.
(Fsnarf_documentation): If Vbuild_files is nil, populate it with
file names from buildobh.lst.  Only attach docstrings from files
that are in Vbuild_files.
(syms_of_doc): Defvar Vbuild_files.

* Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o
and w32*.o.
(temacs${EXEEXT}): Generate buildobj.lst when temacs is linked.
(mostlyclean): rm buildobj.lst

* makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs
is linked.
2004-11-09 08:19:51 +00:00
Stefan Monnier
3584d95d9d (Fsubstitute_command_keys): Fix remap-handling.
Don't ignore menus, because where-is-internal already does it for us.
2004-10-15 14:49:30 +00:00
Kim F. Storm
332e51c15c (Fsubstitute_command_keys): Ignore remappings unless there
are no ordinary bindings.
2004-10-11 22:36:35 +00:00
Luc Teirlinck
98b6690a11 (Fsnarf_documentation): Doc fix. 2004-06-23 17:00:06 +00:00
Kim F. Storm
a1bfe073ea (Fkey_description): Change callers. 2004-04-16 21:19:16 +00:00
Stefan Monnier
a12a9bd6ab (Fsnarf_documentation): Ignore new file name entries. 2004-04-07 19:17:36 +00:00
Kenichi Handa
409949b5d5 (Fsubstitute_command_keys): Fix counding bytes. 2004-03-02 06:12:15 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Dave Love
54a2cb1213 Use HAVE_FCNTL_H, not USG5. 2003-06-02 18:45:00 +00:00
Stefan Monnier
8a7bde3e88 (Fsubstitute_command_keys): Remove spurious casts. 2003-04-17 21:58:34 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Richard M. Stallman
13d7dc77af (reread_doc_file): Don't ask for confirmation. 2002-05-19 16:10:08 +00:00
Stefan Monnier
71cdb109f9 (Fdocumentation): More brainos. I need sleep. 2002-04-03 18:05:07 +00:00
Juanma Barranquero
44766095d1 (Fdocumentation): Add missing parentheses.
(Fdocumentation_property): Likewise.
2002-04-03 16:46:47 +00:00
Stefan Monnier
68d8a8e1fb (Fdocumentation, Fdocumentation_property): When the doc
data is 0, just return nil.
2002-04-03 16:28:30 +00:00
Stefan Monnier
04fb828366 (reread_doc_file): Add missing argument declaration. 2002-04-03 05:10:19 +00:00
Stefan Monnier
e5aa79fa25 (reread_doc_file): Return whether reload was attempted.
(Fdocumentation, Fdocumentation_property): Don't try to reload
if the doc is 0 and only ask once.
2002-04-02 21:58:53 +00:00
Stefan Monnier
a154a4efce (get_doc_string): Return nil of the location is wrong.
(reread_doc_file): New fun.
(Fdocumentation, Fdocumentation_property):
Call it if get_doc_string fails.
(Fsnarf_documentation): Make it work for a dumped Emacs.
2002-04-01 23:04:46 +00:00
Kim F. Storm
4857ef5857 Changed call to Fwhere_is_internal. 2002-02-06 23:00:52 +00:00
Pavel Janík
acc5eb0c4a (Fdocumentation): Remove mocklisp case. 2001-12-22 13:59:08 +00:00
Stefan Monnier
87afdd65ce (Fsnarf_documentation): Add prototype.
(get_doc_string): Handle negative arguments.
(Fdocumentation): Use AREF and ASIZE.
Move the calls to get_doc_string to a single place.
Don't confuse an interactive-spec for a docstring reference.
(Fdocumentation_property): Take advantage of the fact that
get_doc_string now ignores the sign of the docstring position.
2001-12-05 01:47:27 +00:00
Richard M. Stallman
f4e25f94e7 (Fsnarf_documentation): Doc fix. 2001-11-17 22:40:47 +00:00
Pavel Janík
335c5470b5 Change doc-string comments to new style' [w/doc:' keyword]. 2001-11-13 07:48:37 +00:00
Richard M. Stallman
203480d952 Whitespace change. 2001-11-04 03:21:13 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Miles Bader
512ca171d4 (Vhelp_manyarg_func_alist): Variable removed.
(Fdocumentation): Don't use it.
(syms_of_doc): Don't initialize it.
2001-10-21 15:20:42 +00:00
Ken Raeburn
f3fbd15535 Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimenting
with lisp system changes.
2001-10-16 09:09:51 +00:00
Stefan Monnier
8feddab4e0 Include keymap.h. 2001-10-08 11:39:52 +00:00
Pavel Janík
9180dc8c3d *** empty log message *** 2001-10-08 06:45:26 +00:00
Eli Zaretskii
24109c98ab (Fsnarf_documentation): Remove unused variables `fun' and
`tem'.
2001-01-02 14:02:33 +00:00
Gerd Moellmann
8d17fe0bb5 (Fsubstitute_command_keys): Change the way buffers
are reallocated so that it is portable.
2000-12-08 09:59:52 +00:00
Stefan Monnier
020676925c * lisp.h (KEYMAPP): New macro.
(get_keymap): Remove.
(get_keymap_1): Rename get_keymap.
* keyboard.h (get_keymap_1, Fkeymapp): Remove prototype.
* xterm.c (note_mode_line_highlight): Use KEYMAPP.
* xmenu.c (single_submenu): Use KEYMAPP.
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
* w32term.c (note_mode_line_highlight): Use KEYMAPP.
* w32menu.c (True, False): Remove (use TRUE and FALSE instead).
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
(single_submenu): Use KEYMAPP.
(w32_menu_show, w32_dialog_show): Use TRUE.
* minibuf.c (Fread_from_minibuffer): Update call to get_keymap.
* keymap.c (KEYMAPP): Remove (moved to lisp.h).
(Fkeymapp): Use KEYMAPP.
(get_keymap): Rename from get_keymap_1.  Remove old def.
Return t when autoload=0 and error=0 and the keymap needs autoloading.
(Fcopy_keymap): Check (eq (car x) 'keymap) rather than using Fkeymapp.
(Fminor_mode_key_binding): Don't raise an error if the binding
is not a keymap.
(Fuse_global_map, Fuse_local_map): Allow autoloading.
(Faccessible_keymaps): Fetch keymaps rather than checking Fkeymapp.
* keyboard.c (read_char): get_keymap_1 -> get_keymap.
Allow Vspecial_event_map to be autoloaded.
(menu_bar_items): Fetch the keymap rather than using keymapp.
(menu_bar_one_keymap): No need to follow func-indirect any more.
(parse_menu_item): get_keymap_1 -> get_keymap.
(tool_bar_items): Fetch the keymap rather than using keymapp.
(read_key_sequence): Use KEYMAPP.
* intervals.c (get_local_map): Use get_keymap rather than following
function-indirections explicitly.
* doc.c (Fsubstitute_command_keys): get_keymap_1 -> get_keymap.
2000-10-27 22:20:19 +00:00
Gerd Moellmann
8892f40bde Remove includes of
string.h and strings.h.
(index) [HAVE_INDEX]: Add prototype.
2000-09-02 19:35:49 +00:00
Gerd Moellmann
a847af86f5 (toplevel) [HAVE_STRING_H]: Include string.h.
(toplevel) [HAVE_STRINGS_H]: Include strings.h.
(index): Remove prototypes which might conflict with non-standard
definitions of index/strchr.
2000-08-28 15:03:29 +00:00
Gerd Moellmann
11f9d6e1a3 (Fsubstitute_command_keys): Handle case that a GC
in Fwhere_is_internal or get_keymap_1 relocates string contents.
2000-07-11 19:59:06 +00:00
Gerd Moellmann
9191c8ae4e (Qfunction_documentation): New variable.
(syms_of_doc): Initialize Qfunction_documentation.
(Fdocumentation): If FUNCTION is a symbol with non-nil
`function-documentation' property, return a documentation derived
from that.
2000-03-26 19:32:02 +00:00
Gerd Moellmann
f6ee1260dd (Fdocumentation_property): If value is not a string,
and doesn't refer to etc/DOC, evaluate it to obtain a string.
2000-03-07 14:19:23 +00:00
Dave Love
32d1b89734 Copyright up-date. 2000-02-01 15:19:30 +00:00
Dave Love
712c597eb9 (Vhelp_manyarg_func_alist): New variable.
(Fdocumentation): Use it.
(syms_of_doc): Define it.
2000-02-01 14:45:38 +00:00
Dave Love
441d75e5ce (Fdocumentation): Remove gcpro here too. 1999-11-16 18:24:17 +00:00
Gerd Moellmann
bbd7d5d3ed (Fdocumentation_property): Remove GCPRO because
Fsubstitute_command_keys gcpro's the string.
1999-11-12 12:50:54 +00:00
Gerd Moellmann
9e56fc95cc (Fdocumentation_property): Fix bug bypassing UNGCPRO. 1999-11-02 23:18:05 +00:00