aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-30 21:13:48 +0200
committerLars Ingebrigtsen2016-05-01 19:27:14 +0200
commit7350d3d7b062daf0d5faae86f81043b13de08cea (patch)
treedaabb123739c5caa7f0de83ddc34d07dc566b550
parentafb22577de2f06542780870a0431d0ee533eb3ac (diff)
downloademacs-7350d3d7b062daf0d5faae86f81043b13de08cea.tar.gz
emacs-7350d3d7b062daf0d5faae86f81043b13de08cea.zip
apropos-print doc fix
* lisp/apropos.el (apropos-print): Document the undocumented parameters (bug#20520). (cherry picked from commit 0714d7387812a151f59993ac77c7321724ef79b1)
-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
1040The return value is the list that was in `apropos-accumulator', sorted 1040The return value is the list that was in `apropos-accumulator', sorted
1041alphabetically by symbol name; but this function also sets 1041alphabetically by symbol name; but this function also sets
1042`apropos-accumulator' to nil before returning. 1042`apropos-accumulator' to nil before returning.
1043 1043If DO-KEYS is non-nil, output the key bindings. If NOSUBST is
1044If SPACING is non-nil, it should be a string; separate items with that string. 1044nil, substitute \"ASCII quotes\" (i.e., grace accent and
1045If non-nil, TEXT is a string that will be printed as a heading." 1045apostrophe) with curly quotes), and if non-nil, leave them alone.
1046If SPACING is non-nil, it should be a string; separate items with
1047that string. If non-nil, TEXT is a string that will be printed
1048as a heading."
1046 (if (null apropos-accumulator) 1049 (if (null apropos-accumulator)
1047 (message "No apropos matches for `%s'" apropos-pattern) 1050 (message "No apropos matches for `%s'" apropos-pattern)
1048 (setq apropos-accumulator 1051 (setq apropos-accumulator