]> code.delx.au - gnu-emacs/commitdiff
apropos-print doc fix
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2016 19:13:48 +0000 (21:13 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 1 May 2016 17:27:14 +0000 (19:27 +0200)
* lisp/apropos.el (apropos-print): Document the undocumented
parameters (bug#20520).

(cherry picked from commit 0714d7387812a151f59993ac77c7321724ef79b1)

lisp/apropos.el

index eb145bdc5719a181079136d2276ad317db8061c1..72357742b60742411873f085d3150084073eb776 100644 (file)
@@ -1040,9 +1040,12 @@ Each element should have the format
 The return value is the list that was in `apropos-accumulator', sorted
 alphabetically by symbol name; but this function also sets
 `apropos-accumulator' to nil before returning.
-
-If SPACING is non-nil, it should be a string; separate items with that string.
-If non-nil, TEXT is a string that will be printed as a heading."
+If DO-KEYS is non-nil, output the key bindings.  If NOSUBST is
+nil, substitute \"ASCII quotes\" (i.e., grace accent and
+apostrophe) with curly quotes), and if non-nil, leave them alone.
+If SPACING is non-nil, it should be a string; separate items with
+that string.  If non-nil, TEXT is a string that will be printed
+as a heading."
   (if (null apropos-accumulator)
       (message "No apropos matches for `%s'" apropos-pattern)
     (setq apropos-accumulator