all repos — nixfiles @ 37cc1c0e64e5bce3bc1de87d690746ec35080247

System and user configuration, managed by nix and home-manager

Emacs: remove use-package calls for non-packages
Alan Pearce alan@alanpearce.eu
Tue, 18 Feb 2020 16:05:16 +0100
commit

37cc1c0e64e5bce3bc1de87d690746ec35080247

parent

707aa94bb0b98822ec859faf824b0fda34771c91

1 files changed, 2 insertions(+), 6 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -381,12 +381,11 @@ (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
 
@@ -870,9 +869,6 @@ lsp-auto-configure nil                   lsp-prefer-flymake nil
                   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