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:")
|
||||
(dirvish-dwim dir))
|
||||
|
||||
|
||||
(setq dirvish-quick-access-entries
|
||||
'(("h" "~/" "Home")
|
||||
("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.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(run-with-idle-timer 2 nil (lambda () (require 'vterm)))
|
||||
(add-hook 'emacs-startup-hook (lambda () (require 'vterm)))
|
||||
#+end_src
|
||||
|
||||
** Undo Tree
|
||||
|
Loading…
x
Reference in New Issue
Block a user