From 11146c3a9b6a954be75e29cfdfb9c076e0ba4cdf Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Thu, 3 Oct 2019 14:50:31 +0200 Subject: [PATCH] [Misc] Add explicit dependency to elpy --- .gitignore | 1 + init.el | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4209cc5..3fbff20 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,4 @@ /request/curl-cookie-jar /transient/history.el /private +/elpy/ diff --git a/init.el b/init.el index e3de104..9db25ba 100644 --- a/init.el +++ b/init.el @@ -2565,6 +2565,9 @@ With given ARG, display files in `db/important-document-path’." (add-to-list 'electric-pair-pairs '(?„ . ?“)) (add-to-list 'electric-pair-text-pairs '(?„ . ?“)))) +(use-package elpy + :commands (elpy-enable)) + (use-package eproject :defer t :config (progn @@ -2665,8 +2668,7 @@ With given ARG, display files in `db/important-document-path’." :init (setq python-indent-offset 2) :config (progn (add-hook 'python-mode-hook 'highlight-indentation-mode) - (when (package-installed-p 'elpy) - (elpy-enable)))) + (elpy-enable))) ;; Interactive interface to sdcv, the StarDict concole version. To use sdcv, ;; put the dictionary data under ~/.stardict/dic.