Shrink dependency chains in core libraries

This commit is contained in:
Henrik Lissner 2018-05-20 12:06:50 +02:00
parent 0634289a01
commit c826f0f6a8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 1 additions and 6 deletions

View file

@ -12,8 +12,6 @@
;; Like persistent-soft, caches assume a 2-tier structure, where all caches are ;; Like persistent-soft, caches assume a 2-tier structure, where all caches are
;; namespaced by location. ;; namespaced by location.
(require 'persistent-soft)
(defvar doom-cache-alists () (defvar doom-cache-alists ()
"An alist of alists, containing lists of variables for the doom cache library "An alist of alists, containing lists of variables for the doom cache library
to persist across Emacs sessions.") to persist across Emacs sessions.")

View file

@ -75,6 +75,7 @@ in, or d) the module associated with the current major mode (see
"init.el") "init.el")
(thing-at-point 'sexp t))) (thing-at-point 'sexp t)))
((save-excursion ((save-excursion
(require 'smartparens)
(ignore-errors (ignore-errors
(sp-beginning-of-sexp) (sp-beginning-of-sexp)
(unless (eq (char-after) ?\() (unless (eq (char-after) ?\()

View file

@ -1,10 +1,6 @@
;;; core/autoload/packages.el -*- lexical-binding: t; -*- ;;; core/autoload/packages.el -*- lexical-binding: t; -*-
(load! cache) (load! cache)
(require 'use-package)
(require 'quelpa)
(require 'package)
(require 'async)
;;; Private functions ;;; Private functions
(defsubst doom--sort-alpha (it other) (defsubst doom--sort-alpha (it other)