summaryrefslogtreecommitdiff
path: root/lisp/apropos.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-04-30 21:13:48 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2016-05-01 19:27:14 +0200
commit7350d3d7b062daf0d5faae86f81043b13de08cea (patch)
treedaabb123739c5caa7f0de83ddc34d07dc566b550 /lisp/apropos.el
parentafb22577de2f06542780870a0431d0ee533eb3ac (diff)
downloademacs-7350d3d7b062daf0d5faae86f81043b13de08cea.tar.gz
apropos-print doc fix
* lisp/apropos.el (apropos-print): Document the undocumented parameters (bug#20520). (cherry picked from commit 0714d7387812a151f59993ac77c7321724ef79b1)
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r--lisp/apropos.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el
index eb145bdc571..72357742b60 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -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