From c2f0d6aa06ea8a3c7b77e0966593081e4f6e11ad Mon Sep 17 00:00:00 2001 From: Levi Date: Mon, 16 Sep 2024 09:38:20 +0200 Subject: [PATCH] py autoloads --- emacs/module/module-python.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/emacs/module/module-python.el b/emacs/module/module-python.el index b58f35b..14145d4 100644 --- a/emacs/module/module-python.el +++ b/emacs/module/module-python.el @@ -11,9 +11,8 @@ (pkg/require-defer 'python-mode) (pkg/require-defer 'python-environment) -(with-eval-after-load 'python-mode - (add-to-list 'auto-mode-alist '("\\.py$" . python-mode)) - (add-to-list 'auto-mode-alist '("BUILD\\'" . python-mode))) +(add-to-list 'auto-mode-alist '("\\.py$" . python-mode)) +(add-to-list 'auto-mode-alist '("BUILD\\'" . python-mode)) (provide 'module-python)