Fix vestigial reference to old help-search-headings fn
This commit is contained in:
parent
2e9195742a
commit
d1f4a77fbb
1 changed files with 3 additions and 2 deletions
|
@ -168,10 +168,11 @@ function and open its documentation with `helpful-function'. Otherwise, it will
|
||||||
search for it with `apropos'.
|
search for it with `apropos'.
|
||||||
|
|
||||||
If QUERY is empty, this runs the equivalent of 'M-x apropos'. If BANG is
|
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>")
|
(interactive "<!><a>")
|
||||||
(if bang
|
(if bang
|
||||||
(doom/help-search query)
|
(doom/help-search-headings query)
|
||||||
(save-match-data
|
(save-match-data
|
||||||
(cond ((or (null query) (string-empty-p (string-trim query)))
|
(cond ((or (null query) (string-empty-p (string-trim query)))
|
||||||
(call-interactively
|
(call-interactively
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue