* info-look.el (info-lookup-add-help): Clarify that ARGS is a list
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 2 Jul 2011 14:05:38 +0000 (16:05 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 2 Jul 2011 14:05:38 +0000 (16:05 +0200)
of keyword/argument pairs (bug#6904).

lisp/ChangeLog
lisp/info-look.el

index 05b54ce..cf520f5 100644 (file)
@@ -1,5 +1,8 @@
 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
+       of keyword/argument pairs (bug#6904).
+
        * replace.el (multi-occur): Mention
        `multi-occur-in-matching-buffers' in the doc string (bug#7566).
 
index 2cfaa81..13edc02 100644 (file)
@@ -127,9 +127,9 @@ OTHER-MODES is a list of cross references to other help modes.")
 
 (defun info-lookup-add-help (&rest arg)
   "Add or update a help specification.
-Function arguments are one or more options of the form
+Function arguments are specified as keyword/argument pairs:
 
-    KEYWORD ARGUMENT
+    \(KEYWORD . ARGUMENT)
 
 KEYWORD is either `:topic', `:mode', `:regexp', `:ignore-case',
  `:doc-spec', `:parse-rule', or `:other-modes'.