Refactor package management system

This commit is contained in:
Henrik Lissner 2017-02-11 00:46:42 -05:00
parent 85d5360c7c
commit 7ef87546cc
10 changed files with 335 additions and 288 deletions

View file

@ -50,7 +50,7 @@ line or use --debug-init to enable this.")
(defvar doom-autoload-file
(concat doom-local-dir "autoloads.el")
"Location of the autoloads.el, which is generated by `doom/refresh-autoloads'
"Location of the autoloads.el, which is generated by `doom/reload-autoloads'
and `doom-initialize-autoloads'.")
(defconst IS-MAC (eq system-type 'darwin))
@ -136,6 +136,37 @@ enable multiple minor modes for the same regexp.")
(require 'core-lib)
(doom-initialize-autoloads)
(unless noninteractive
(@def-package anaphora
:commands (awhen aif acond awhile))
(@def-package async
:commands (async-start
async-start-process
async-byte-recompile-directory))
(@def-package persistent-soft
:preface (defvar pcache-directory (concat doom-cache-dir "pcache/"))
:commands (persistent-soft-exists-p
persistent-soft-fetch
persistent-soft-flush
persistent-soft-store))
(@def-package ht
:commands (ht-create ht-merge ht-copy ht-select ht-reject ht-select-keys
ht-get ht-keys ht-values ht-items ht-find ht-size
ht-set! ht-update! ht-remove! ht-clear! ht-reject!
ht-map ht-each
ht? ht-contains? ht-equal? ht-empty?
ht->alist ht->plist
ht<-alist ht<-plist
ht ht-amap ht-aeach))
(@def-package smex
:commands (smex smex-major-mode-commands)
:config
(setq smex-save-file (concat doom-cache-dir "/smex-items"))
(smex-initialize))
(require 'core-ui) ; draw me like one of your French editors
(require 'core-popups) ; taming sudden yet inevitable windows
(require 'core-editor) ; baseline configuration for text editing