Remove manual loading of pkg-autoloads files
No longer necessary as of 0c80bb42
This commit is contained in:
parent
0b2548f7b1
commit
138ec2bf07
8 changed files with 5 additions and 20 deletions
|
@ -86,7 +86,7 @@ compilation."
|
|||
`(after! (:all ,@features) ,@body)))))
|
||||
|
||||
(defmacro quiet! (&rest forms)
|
||||
"Run FORMS without making any noise."
|
||||
"Run FORMS without making any output."
|
||||
`(if doom-debug-mode
|
||||
(progn ,@forms)
|
||||
(let ((old-fn (symbol-function 'write-region)))
|
||||
|
@ -105,10 +105,10 @@ compilation."
|
|||
(defmacro add-transient-hook! (hook &rest forms)
|
||||
"Attaches transient forms to a HOOK.
|
||||
|
||||
HOOK can be a quoted hook or a sharp-quoted function (which will be advised).
|
||||
This means FORMS will be evaluated once when that function/hook is first
|
||||
invoked, then never again.
|
||||
|
||||
These forms will be evaluated once when that function/hook is first invoked,
|
||||
then it detaches itself."
|
||||
HOOK can be a quoted hook or a sharp-quoted function (which will be advised)."
|
||||
(declare (indent 1))
|
||||
(let ((append (eq (car forms) :after))
|
||||
(fn (intern (format "doom-transient-hook-%s" (cl-incf doom--transient-counter)))))
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
helm-move-to-line-cycle-in-source t)
|
||||
|
||||
:config
|
||||
(load "helm-autoloads" nil t)
|
||||
(add-hook 'doom-init-hook #'helm-mode)
|
||||
|
||||
(defvar helm-projectile-find-file-map (make-sparse-keymap))
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
(def-package! elm-mode
|
||||
:mode "\\.elm$"
|
||||
:config
|
||||
(load "elm-mode-autoloads" nil t)
|
||||
(add-hook! 'elm-mode-hook #'(flycheck-mode rainbow-delimiters-mode))
|
||||
(set! :company-backend 'elm-mode '(company-elm))
|
||||
(set! :repl 'elm-mode #'run-elm-interactive)
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
;;; lang/ess/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(eval-and-compile
|
||||
(load "ess-autoloads" nil t))
|
||||
|
||||
(def-package! ess-site
|
||||
:commands (R stata julia SAS)
|
||||
:mode (("\\.sp\\'" . S-mode)
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
:interpreter (("runghc" . haskell-mode)
|
||||
("runhaskell" . haskell-mode))
|
||||
:config
|
||||
(load "haskell-mode-autoloads" nil t)
|
||||
|
||||
(set! :repl 'haskell-mode #'switch-to-haskell)
|
||||
(push ".hi" completion-ignored-extensions)
|
||||
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
|
||||
|
||||
(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
|
||||
;; Set some varibles to fontify common LaTeX commands.
|
||||
(load! +fontification)
|
||||
|
|
|
@ -4,9 +4,7 @@
|
|||
:mode "\\.purs$"
|
||||
:config
|
||||
(add-hook! 'purescript-mode-hook
|
||||
#'(flycheck-mode purescript-indentation-mode rainbow-delimiters-mode))
|
||||
|
||||
(load "purescript-mode-autoloads" nil t))
|
||||
#'(flycheck-mode purescript-indentation-mode rainbow-delimiters-mode)))
|
||||
|
||||
;; (def-package! flycheck-purescript
|
||||
;; :after purescript-mode
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
(def-package! pdf-tools
|
||||
:mode ("\\.pdf$" . pdf-view-mode)
|
||||
:init (load "pdf-tools-autoloads" nil t)
|
||||
:config
|
||||
(unless noninteractive
|
||||
(pdf-tools-install))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue