Juanma Barranquero
55fdba3190
(help-argument-name): Default to italic.
...
(help-highlight-arguments): Always return (usage . doc).
2004-05-09 22:41:34 +00:00
Juanma Barranquero
60c249555a
(help-highlight-arguments): Fix braino.
2004-05-09 01:28:34 +00:00
Juanma Barranquero
fef3a3ab7c
(help-highlight-arguments): Don't try to highlight missing or autoloaded
...
arglists. Accept structured arguments, like the first ones of `do' and
`flet'.
2004-05-09 00:45:49 +00:00
Juanma Barranquero
6aab5f13cd
(help-do-arg-highlight): Temporarily set ?\- to be a word constituent so
...
FOO-ARG is not recognized as an arg.
(help-highlight-arguments): Don't skip lists in mandatory arguments.
2004-05-07 22:41:22 +00:00
Juanma Barranquero
1c34b5a97d
(help-argument-name): Default to bold; don't inherit from
...
font-lock-variable-name-face.
(help-do-arg-highlight): Grok also ARGth occurrences in the docstring.
2004-05-06 01:12:06 +00:00
Juanma Barranquero
c57ada27c8
(help-argument-name): New face, inheriting from
...
font-lock-variable-name-face, to highlight function arguments in
`describe-function' and `describe-key'.
(help-do-arg-highlight): Auxiliary function to highlight a given list of
arguments in a string.
(help-highlight-arguments): Highlight the function arguments and all uses
of them in the docstring.
(describe-function-1): Use it. Do docstring output via `insert', not
'princ', so text attributes are preserved.
2004-05-04 00:22:29 +00:00
Juanma Barranquero
9242b3b792
(help-add-fundoc-usage): Use %S instead of %s to format arglist so default
...
values in CL-style argument lists are correctly shown.
2004-05-01 13:55:16 +00:00
Stefan Monnier
3ff0a7e940
(help-C-file-name): Use new subr-name.
...
Prepend `src/' to the file name.
(help-C-source-directory, help-subr-name, help-find-C-source): Remove.
(describe-function-1, describe-variable): Only find a C source file name
if DOC is already loaded.
2004-04-29 18:46:13 +00:00
Richard M. Stallman
19a151e59b
(describe-function-1): If many non-control non-meta
...
keys run the command, don't list all of them.
2004-04-20 20:51:11 +00:00
Juri Linkov
7226605688
(help-with-tutorial): Call `hack-local-variables'
...
to put into effect local variables from TUTORIAL files.
2004-04-18 22:12:23 +00:00
Stefan Monnier
154ee9b737
(help-C-source-directory): New var.
...
(help-subr-name, help-C-file-name, help-find-C-source): New funs.
(describe-function-1, describe-variable): Use them.
2004-04-07 19:38:54 +00:00
Luc Teirlinck
47f8b8f126
(describe-categories): Doc fix.
2004-02-20 03:48:32 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Stefan Monnier
b0622c6d46
(describe-variable): Mention permanent local status.
2003-05-13 18:35:16 +00:00
Stefan Monnier
f8daddcffb
(help-add-fundoc-usage): Use t for "no arglist".
2003-05-06 13:54:21 +00:00
Stefan Monnier
95734598cd
(help-add-fundoc-usage): Allow arglist to be a string.
2003-05-04 00:30:34 +00:00
John Paul Wallington
88ff724bdf
(help-add-fundoc-usage): Pass an empty string to `format' if
...
no newlines are necessary.
2003-04-12 04:28:43 +00:00
Kim F. Storm
023b93f6b0
Renamed remap-command to command-remapping. All uses changed.
2003-02-12 23:13:43 +00:00
Juanma Barranquero
a01ba4f1b1
(describe-function-1): Change output for keyboard macros.
2003-02-12 11:41:37 +00:00
Juanma Barranquero
71296446d3
Trailing whitespace deleted.
2003-02-04 11:26:42 +00:00
Markus Rost
13eb72d26e
(describe-variable): Use custom-variable-p.
2003-01-07 19:17:46 +00:00
Stefan Monnier
dcae291f23
(describe-variable): Look for (defvar . <sym>) in the
...
load-history since `defvar' now uses this format.
2002-11-20 14:37:19 +00:00
Stefan Monnier
bbb7041afb
(help-with-tutorial): Use minibuffer-completion-help.
...
(help-split-fundoc): Don't support old syntax any more.
(help-add-fundoc-usage): New fun.
2002-09-27 22:59:41 +00:00
Richard M. Stallman
e06d1742ac
(help-with-tutorial): Properly set up
...
completion-reference-buffer in the *Completion* buffer.
2002-09-05 02:38:41 +00:00
Stefan Monnier
f63f0981b6
(help-split-fundoc): Replace the function name
...
from the docstring with the one that should be displayed.
(help-make-usage): Understand CL style arglists.
(describe-function-1): Adapt to the new behavior of help-split-fundoc.
(describe-variable): Use delete-region.
2002-08-19 21:23:08 +00:00
Stefan Monnier
26f194777a
(locate-library): Use locate-file(-completion).
...
(help-split-fundoc): Tighten the regexp and recognize a usage-info
where the function name is `fn'.
(help-function-arglist): Follow aliases and macros.
(describe-function-1): Use keymapp.
If the docstring contains a usage info, use it even if the function is
not a subroutine. Find usage info in aliases' docstring if necessary.
(describe-variable): Get the value before setting up the *Help* buffer.
2002-08-15 01:38:45 +00:00
John Paul Wallington
dd66897fd5
(describe-function-1): Skip arglist note if
...
function's definition is a keymap.
2002-08-06 17:21:19 +00:00
Markus Rost
32d9a725a5
(describe-function-1): Test function for obsolescence only if it is a
...
symbol.
2002-07-31 22:28:30 +00:00
Juanma Barranquero
3b622b44f5
(describe-function-1): Put empty line before "Not documented" text.
2002-07-17 08:12:04 +00:00
Stefan Monnier
2dbbed9eba
(help-split-fundoc, help-function-arglist)
...
(help-make-usage): New funs, extracted from describe-function-1.
(describe-function-1): Use them.
2002-07-16 16:24:59 +00:00
Juanma Barranquero
c72fcfc334
(describe-variable): Remove useless trailing whitespace.
2002-07-15 16:17:01 +00:00
Juanma Barranquero
50a2c5f9e9
(describe-variable): Show documentation for aliased variable if alias does not
...
have its own.
2002-07-15 15:38:49 +00:00
Richard M. Stallman
e870de8835
(help-with-tutorial): Display completion list right away.
2002-07-12 23:26:17 +00:00
Juanma Barranquero
d00a340891
(describe-variable): Put `defvaralias' info before the documentation (patch from
...
John Paul Wallington <jpw@shootybangbang.com>). Remove useless "Documentation:"
string.
2002-07-12 16:56:03 +00:00
Pavel Janík
9327f13439
(describe-variable): Mention if the variable is an alias.
2002-07-12 08:58:32 +00:00
Juanma Barranquero
b0d6450266
(describe-function-1): Use semicolon instead of dot.
...
(describe-variable): Likewise.
2002-06-27 16:10:23 +00:00
Juanma Barranquero
8c26938091
(describe-variable): Capitalize "not documented" message.
...
(describe-function-1): Likewise. Also, document the obsolescence
of the function, if applicable.
2002-06-27 07:16:00 +00:00
Stefan Monnier
d24c52bbe5
(describe-variable): Only use `buffer' is still live.
...
Use `delete-region' instead of save-excursion + delete-char.
Document the obsolescence of the variable, if applicable.
2002-06-23 21:02:45 +00:00
Markus Rost
35679c3f5c
(describe-function-1): If the source is `loaddefs.el', look for the
...
real source. This is necessary only for defaliases.
2002-05-08 18:05:28 +00:00
Richard M. Stallman
7dd3ed35ee
(help-with-tutorial): Allow various ways
...
to specify the text in the [...] line, in handling the <...> line.
2002-04-01 12:32:02 +00:00
Kim F. Storm
1d6a83230c
(describe-function-1): Use remap-command.
2002-02-23 22:27:39 +00:00
Kim F. Storm
d2ab11c5a7
(describe-function-1): Report remapped commands.
2002-02-06 23:05:03 +00:00
Richard M. Stallman
5a6a8d3b96
(describe-variable, describe-function): Do save-excursion.
2002-01-07 05:20:40 +00:00
Pavel Janík
a7323c295b
Remove mocklisp function case.
2001-12-22 13:35:14 +00:00
Stefan Monnier
861d9ef636
(describe-categories, help-describe-category-set): New.
2001-11-27 00:26:41 +00:00
Eli Zaretskii
125eb4116c
Change the provide and the header as per the renaming.
2001-11-26 19:52:07 +00:00
Eli Zaretskii
303fccda0b
Renamed help-funs.el into help-fns.el, at RMS's request.
2001-11-26 19:49:04 +00:00