Remove manual loading of pkg-autoloads files

No longer necessary as of 0c80bb42
This commit is contained in:
Henrik Lissner 2018-02-28 17:13:40 -05:00
parent 0b2548f7b1
commit 138ec2bf07
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
8 changed files with 5 additions and 20 deletions

View file

@ -86,7 +86,7 @@ compilation."
`(after! (:all ,@features) ,@body))))) `(after! (:all ,@features) ,@body)))))
(defmacro quiet! (&rest forms) (defmacro quiet! (&rest forms)
"Run FORMS without making any noise." "Run FORMS without making any output."
`(if doom-debug-mode `(if doom-debug-mode
(progn ,@forms) (progn ,@forms)
(let ((old-fn (symbol-function 'write-region))) (let ((old-fn (symbol-function 'write-region)))
@ -105,10 +105,10 @@ compilation."
(defmacro add-transient-hook! (hook &rest forms) (defmacro add-transient-hook! (hook &rest forms)
"Attaches transient forms to a HOOK. "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, HOOK can be a quoted hook or a sharp-quoted function (which will be advised)."
then it detaches itself."
(declare (indent 1)) (declare (indent 1))
(let ((append (eq (car forms) :after)) (let ((append (eq (car forms) :after))
(fn (intern (format "doom-transient-hook-%s" (cl-incf doom--transient-counter))))) (fn (intern (format "doom-transient-hook-%s" (cl-incf doom--transient-counter)))))

View file

@ -31,7 +31,6 @@
helm-move-to-line-cycle-in-source t) helm-move-to-line-cycle-in-source t)
:config :config
(load "helm-autoloads" nil t)
(add-hook 'doom-init-hook #'helm-mode) (add-hook 'doom-init-hook #'helm-mode)
(defvar helm-projectile-find-file-map (make-sparse-keymap)) (defvar helm-projectile-find-file-map (make-sparse-keymap))

View file

@ -3,7 +3,6 @@
(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)

View file

@ -1,8 +1,5 @@
;;; lang/ess/config.el -*- lexical-binding: t; -*- ;;; lang/ess/config.el -*- lexical-binding: t; -*-
(eval-and-compile
(load "ess-autoloads" nil t))
(def-package! ess-site (def-package! ess-site
:commands (R stata julia SAS) :commands (R stata julia SAS)
:mode (("\\.sp\\'" . S-mode) :mode (("\\.sp\\'" . S-mode)

View file

@ -15,8 +15,6 @@
: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)

View file

@ -20,11 +20,6 @@
(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)

View file

@ -4,9 +4,7 @@
:mode "\\.purs$" :mode "\\.purs$"
:config :config
(add-hook! 'purescript-mode-hook (add-hook! 'purescript-mode-hook
#'(flycheck-mode purescript-indentation-mode rainbow-delimiters-mode)) #'(flycheck-mode purescript-indentation-mode rainbow-delimiters-mode)))
(load "purescript-mode-autoloads" nil t))
;; (def-package! flycheck-purescript ;; (def-package! flycheck-purescript
;; :after purescript-mode ;; :after purescript-mode

View file

@ -2,7 +2,6 @@
(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))