Fix vestigial reference to old help-search-headings fn

This commit is contained in:
Henrik Lissner 2019-12-26 16:50:14 -05:00
parent 2e9195742a
commit d1f4a77fbb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -168,10 +168,11 @@ function and open its documentation with `helpful-function'. Otherwise, it will
search for it with `apropos'.
If QUERY is empty, this runs the equivalent of 'M-x apropos'. If BANG is
non-nil, a search is preformed against Doom's manual (with `doom/help-search')."
non-nil, a search is preformed against Doom's manual (with
`doom/help-search-headings')."
(interactive "<!><a>")
(if bang
(doom/help-search query)
(doom/help-search-headings query)
(save-match-data
(cond ((or (null query) (string-empty-p (string-trim query)))
(call-interactively