Fix doom//* commands
Hopefully
This commit is contained in:
parent
65805bdcb9
commit
643c7b0f18
1 changed files with 1 additions and 4 deletions
|
@ -20,15 +20,12 @@
|
|||
(when (memq char '(?\n ?\r))
|
||||
(ansi-color-apply-on-region (line-beginning-position -1) (line-end-position))
|
||||
(redisplay))))))
|
||||
(doom-initialize t)
|
||||
(setq doom-modules (doom-modules))
|
||||
(doom-initialize-modules t)
|
||||
(doom-initialize-packages t)
|
||||
(with-current-buffer (switch-to-buffer buf)
|
||||
(erase-buffer)
|
||||
(require 'package)
|
||||
(redisplay)
|
||||
(doom-dispatch command nil)
|
||||
(doom-cli-execute command nil)
|
||||
(print! (green "\nDone!"))))
|
||||
(when (featurep 'general)
|
||||
(general-auto-unbind-keys 'undo))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue