Remove doom--help-package-configs override
No longer necessary: https://github.com/doomemacs/doomemacs/pull/7849 was accepted.
This commit is contained in:
parent
e69e5ed23e
commit
2434b2a97e
1 changed files with 0 additions and 13 deletions
13
init.el
13
init.el
|
|
@ -58,19 +58,6 @@ requested makes `doom doctor' work."
|
||||||
(file-name-concat
|
(file-name-concat
|
||||||
doom-profile-dir (format "init.%d.elc" emacs-major-version))))
|
doom-profile-dir (format "init.%d.elc" emacs-major-version))))
|
||||||
|
|
||||||
;; TODO: remove if Doom accepts https://github.com/doomemacs/doomemacs/pull/7849
|
|
||||||
(defadvice! nix-doom-configs-without-git (package)
|
|
||||||
"Override to use ripgrep instead of git."
|
|
||||||
:override #'doom--help-package-configs
|
|
||||||
(let ((default-directory doom-emacs-dir))
|
|
||||||
(split-string
|
|
||||||
(cdr (doom-call-process
|
|
||||||
"rg" "--no-heading" "--line-number" "--iglob" "!*.org"
|
|
||||||
(format "%s %s($| )"
|
|
||||||
"(^;;;###package|\\(after!|\\(use-package!)"
|
|
||||||
package)))
|
|
||||||
"\n" t)))
|
|
||||||
|
|
||||||
;; Doom adds a minor mode that makes flycheck-mode's emacs subprocess initialize
|
;; Doom adds a minor mode that makes flycheck-mode's emacs subprocess initialize
|
||||||
;; Doom. Extend this to set our profile dir before it does so.
|
;; Doom. Extend this to set our profile dir before it does so.
|
||||||
(setq-hook! +emacs-lisp--flycheck-non-package-mode
|
(setq-hook! +emacs-lisp--flycheck-non-package-mode
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue