From 9baf656ff9c136836ab6a3f17521b5010419ecd8 Mon Sep 17 00:00:00 2001 From: Seong Yong-ju Date: Sat, 24 Oct 2020 20:16:20 +0900 Subject: [PATCH 1/2] Enable poetry-tracking-mode --- modules/lang/python/config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index e1a339ede..820ae34c7 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -287,7 +287,9 @@ (use-package! poetry :when (featurep! +poetry) - :after python) + :after python + :init + (add-hook! 'python-mode-hook (poetry-tracking-mode +1))) (use-package! cython-mode From 17b6129d349e1a1c4089c0c4c025342ed72b9a3b Mon Sep 17 00:00:00 2001 From: Seong Yong-ju Date: Sat, 31 Oct 2020 16:18:15 +0900 Subject: [PATCH 2/2] Minor refactor --- modules/lang/python/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index 820ae34c7..5ead79ffa 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -289,7 +289,7 @@ :when (featurep! +poetry) :after python :init - (add-hook! 'python-mode-hook (poetry-tracking-mode +1))) + (add-hook 'python-mode-hook #'poetry-tracking-mode)) (use-package! cython-mode