Function: info-lookup-add-help
info-lookup-add-help is a byte-compiled function defined in
info-look.el.gz.
Signature
(info-lookup-add-help &rest ARG)
Documentation
Add or update a help specification.
Function arguments are specified as keyword/argument pairs:
(KEYWORD . ARGUMENT)
KEYWORD is either :topic, :mode, :regexp, :ignore-case,
:doc-spec, :parse-rule, :other-modes or :doc-spec-function.
:doc-spec-function is used to compute a :doc-spec, but instead of
doing so at load time, this is done when the user asks for info on
the mode in question.
ARGUMENT is the value corresponding to KEYWORD. The meaning of the values
is explained in the documentation of the variable info-lookup-alist: for
example, the value corresponding to :topic is documented as HELP-TOPIC,
the value of :mode as HELP-MODE, etc..
If no topic or mode option has been specified, then the help topic defaults
to symbol, and the help mode defaults to the current major mode.
Source Code
;; Defined in /usr/src/emacs/lisp/info-look.el.gz
(defun info-lookup-add-help (&rest arg)
"Add or update a help specification.
Function arguments are specified as keyword/argument pairs:
(KEYWORD . ARGUMENT)
KEYWORD is either `:topic', `:mode', `:regexp', `:ignore-case',
`:doc-spec', `:parse-rule', `:other-modes' or `:doc-spec-function'.
`:doc-spec-function' is used to compute a `:doc-spec', but instead of
doing so at load time, this is done when the user asks for info on
the mode in question.
ARGUMENT is the value corresponding to KEYWORD. The meaning of the values
is explained in the documentation of the variable `info-lookup-alist': for
example, the value corresponding to `:topic' is documented as HELP-TOPIC,
the value of `:mode' as HELP-MODE, etc..
If no topic or mode option has been specified, then the help topic defaults
to `symbol', and the help mode defaults to the current major mode."
(apply #'info-lookup-add-help* nil arg))