summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2020-02-18 16:05:16 +0100
committerAlan Pearce2020-02-18 16:05:16 +0100
commit37cc1c0e64e5bce3bc1de87d690746ec35080247 (patch)
tree799a405c9009f4218bf0250948c072f2c088ed92 /user/emacs
parent707aa94bb0b98822ec859faf824b0fda34771c91 (diff)
downloadnixfiles-37cc1c0e64e5bce3bc1de87d690746ec35080247.tar.lz
nixfiles-37cc1c0e64e5bce3bc1de87d690746ec35080247.tar.zst
nixfiles-37cc1c0e64e5bce3bc1de87d690746ec35080247.zip
Emacs: remove use-package calls for non-packages
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/init.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index 8875ef54..cac4e6e6 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -381,12 +381,11 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package evil-org
   :after org
   :commands (evil-org-set-key-theme)
+  :init (progn
+          (add-hook 'org-agenda-mode-hook #'evil-org-agenda-set-keys))
   :ghook ('org-mode-hook #'evil-org-mode)
   :gfhook #'evil-org-set-key-theme)
 
-(use-package evil-org-agenda
-  :after org
-  :ghook ('org-agenda-mode-hook #'evil-org-agenda-set-keys))
 
 ;;; Projects
 
@@ -871,9 +870,6 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
                   lsp-enable-symbol-highlighting nil)
             (add-to-list 'lsp-language-id-configuration '(js-mode . "javascript"))))
 
-(use-package lsp-clients
-  :after (lsp-mode))
-
 (use-package lsp-ui
   :after lsp-mode
   :ghook ('lsp-mode-hook)