mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix vestigial reference to old help-search-headings fn
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user