describe-function command with
SPC h f to get help on emacs functions. But I want to get documentation on Doom's own functions such as
describe-function doesn't list this function. How can I get documentation on this and other custom functions?
If you are using Ivy, this is expected. Ivy's user manual states that Ivy uses the exclamation mark for regex negation:
Ivy supports regexp negation with "!". For example, "define key ! ivy quit" first selects everything matching "define.*key", then removes everything matching "ivy", and finally removes everything matching "quit". What remains is the final result set of the negation regexp.
Since Ivy treats minibuffer input as a regexp, the standard regexp identifiers work: "^", "$", "\b" or "[a-z]". The exceptions are spaces, which translate to ".*", and "!" that signal the beginning of a negation group.
You should get what you need if you escape the exclamation mark. In other words, when you use
describe-function, search for