mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Bring back aggressive loading of autoloads files #446
package-initialize, once again, isn't called on every startup, which means package autoloads won't be loaded in most interactive sessions, so must do it manually for certain packages.
This commit is contained in:
@ -39,6 +39,7 @@
|
|||||||
helm-move-to-line-cycle-in-source t)
|
helm-move-to-line-cycle-in-source t)
|
||||||
|
|
||||||
:config
|
:config
|
||||||
|
(load "helm-autoloads" nil t)
|
||||||
(setq projectile-completion-system 'helm)
|
(setq projectile-completion-system 'helm)
|
||||||
|
|
||||||
(defvar helm-projectile-find-file-map (make-sparse-keymap))
|
(defvar helm-projectile-find-file-map (make-sparse-keymap))
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
(def-package! elm-mode
|
(def-package! elm-mode
|
||||||
:mode "\\.elm$"
|
:mode "\\.elm$"
|
||||||
:config
|
:config
|
||||||
|
(load "elm-mode-autoloads" nil t)
|
||||||
(add-hook! 'elm-mode-hook #'(flycheck-mode rainbow-delimiters-mode))
|
(add-hook! 'elm-mode-hook #'(flycheck-mode rainbow-delimiters-mode))
|
||||||
(set! :company-backend 'elm-mode '(company-elm))
|
(set! :company-backend 'elm-mode '(company-elm))
|
||||||
(set! :repl 'elm-mode #'run-elm-interactive)
|
(set! :repl 'elm-mode #'run-elm-interactive)
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
:interpreter (("runghc" . haskell-mode)
|
:interpreter (("runghc" . haskell-mode)
|
||||||
("runhaskell" . haskell-mode))
|
("runhaskell" . haskell-mode))
|
||||||
:config
|
:config
|
||||||
|
(load "haskell-mode-autoloads" nil t)
|
||||||
(set! :repl 'haskell-mode #'switch-to-haskell)
|
(set! :repl 'haskell-mode #'switch-to-haskell)
|
||||||
(push ".hi" completion-ignored-extensions)
|
(push ".hi" completion-ignored-extensions)
|
||||||
|
|
||||||
|
@ -20,11 +20,15 @@
|
|||||||
|
|
||||||
|
|
||||||
(def-package! tex-site
|
(def-package! tex-site
|
||||||
|
:init
|
||||||
|
;; Manually load the AUCTEX autoloads. This is normally done by
|
||||||
|
;; package-initialize, ... which we do not use.
|
||||||
|
(load "auctex.el" nil t t)
|
||||||
|
(load "auctex-autoloads.el" nil t t)
|
||||||
:config
|
:config
|
||||||
;; Set some varibles to fontify common LaTeX commands.
|
;; Set some varibles to fontify common LaTeX commands.
|
||||||
(load! +fontification)
|
(load! +fontification)
|
||||||
(setq
|
(setq ;; Enable parse on load.
|
||||||
;; Enable parse on load.
|
|
||||||
TeX-parse-self t
|
TeX-parse-self t
|
||||||
;; When running TeX, just save, don't ask
|
;; When running TeX, just save, don't ask
|
||||||
TeX-save-query nil
|
TeX-save-query nil
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
(def-package! pdf-tools
|
(def-package! pdf-tools
|
||||||
:mode ("\\.pdf$" . pdf-view-mode)
|
:mode ("\\.pdf$" . pdf-view-mode)
|
||||||
|
:init (load "pdf-tools-autoloads" nil t)
|
||||||
:config
|
:config
|
||||||
(unless noninteractive
|
(unless noninteractive
|
||||||
(pdf-tools-install))
|
(pdf-tools-install))
|
||||||
|
Reference in New Issue
Block a user