Use 'emacs-startup-hook instead of run-with-idle-timer
This commit is contained in:
parent
c65ea59920
commit
770eb65611
@ -546,7 +546,6 @@ Vertico Embark Marginalia Consult Orderless
|
|||||||
(interactive "FDirvish Directory:")
|
(interactive "FDirvish Directory:")
|
||||||
(dirvish-dwim dir))
|
(dirvish-dwim dir))
|
||||||
|
|
||||||
|
|
||||||
(setq dirvish-quick-access-entries
|
(setq dirvish-quick-access-entries
|
||||||
'(("h" "~/" "Home")
|
'(("h" "~/" "Home")
|
||||||
("d" "~/Downloads/" "Downloads")
|
("d" "~/Downloads/" "Downloads")
|
||||||
@ -612,7 +611,7 @@ We need this require so we can call `vterm--internal in the joe/vterm-here funct
|
|||||||
down init time because vterm is loading TRAMP which is slow.
|
down init time because vterm is loading TRAMP which is slow.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(run-with-idle-timer 2 nil (lambda () (require 'vterm)))
|
(add-hook 'emacs-startup-hook (lambda () (require 'vterm)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Undo Tree
|
** Undo Tree
|
||||||
|
Loading…
x
Reference in New Issue
Block a user