Demand f, dash, and cl-lib
This commit is contained in:
parent
819c8a41fa
commit
196bbbf14c
10
init.el
10
init.el
|
@ -7,6 +7,8 @@
|
|||
(when my-is-nixos
|
||||
(setq auth-sources '("/run/agenix/authinfo")))
|
||||
|
||||
(require 'cl-lib)
|
||||
|
||||
(with-eval-after-load 'package
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "https://melpa.org/packages/"))
|
||||
|
@ -29,9 +31,11 @@
|
|||
inhibit-splash-screen t
|
||||
custom-file (expand-file-name "custom.el" temporary-file-directory))
|
||||
|
||||
(use-package f)
|
||||
(use-package f
|
||||
:demand t)
|
||||
|
||||
(use-package dash
|
||||
:demand t
|
||||
:hook (emacs-lisp-mode . dash-fontify-mode)
|
||||
:init
|
||||
(with-eval-after-load 'info-look
|
||||
|
@ -212,7 +216,6 @@
|
|||
(aw-dispatch-always t)
|
||||
(aw-scope 'frame)
|
||||
:config
|
||||
(require 'cl-lib)
|
||||
(dolist (c aw-dispatch-alist)
|
||||
(cl-case (car c)
|
||||
(?j (setcar c ?J))
|
||||
|
@ -519,7 +522,6 @@
|
|||
(spell-fu--time-ensure t))
|
||||
|
||||
(defun my-magit-spell-fu-check-range (pos-beg pos-end)
|
||||
(require 'dash)
|
||||
(spell-fu--overlays-remove pos-beg pos-end)
|
||||
(with-syntax-table spell-fu-syntax-table
|
||||
(save-match-data
|
||||
|
@ -711,8 +713,6 @@
|
|||
user-full-name name))))
|
||||
:config
|
||||
(when (boundp 'my--agenix-email-json-data)
|
||||
(require 'dash)
|
||||
(require 'cl-lib)
|
||||
(setq mu4e-contexts
|
||||
(--map (pcase-let ((`(,type (address . ,address) (name . ,name) ,_) it))
|
||||
(make-mu4e-context
|
||||
|
|
Loading…
Reference in a new issue