Also fixes void-function errors caused by (now removed) doom-same-emacs-version-p not being defined in all the contexts it was needed. Where it was before was clumsy design.