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))
|
(when (memq char '(?\n ?\r))
|
||||||
(ansi-color-apply-on-region (line-beginning-position -1) (line-end-position))
|
(ansi-color-apply-on-region (line-beginning-position -1) (line-end-position))
|
||||||
(redisplay))))))
|
(redisplay))))))
|
||||||
(doom-initialize t)
|
|
||||||
(setq doom-modules (doom-modules))
|
(setq doom-modules (doom-modules))
|
||||||
(doom-initialize-modules t)
|
|
||||||
(doom-initialize-packages t)
|
|
||||||
(with-current-buffer (switch-to-buffer buf)
|
(with-current-buffer (switch-to-buffer buf)
|
||||||
(erase-buffer)
|
(erase-buffer)
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(redisplay)
|
(redisplay)
|
||||||
(doom-dispatch command nil)
|
(doom-cli-execute command nil)
|
||||||
(print! (green "\nDone!"))))
|
(print! (green "\nDone!"))))
|
||||||
(when (featurep 'general)
|
(when (featurep 'general)
|
||||||
(general-auto-unbind-keys 'undo))
|
(general-auto-unbind-keys 'undo))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue