From 679cd8476b34a48fd5464e8b43d2d7b6b4ebe89e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 29 Oct 2016 13:15:12 -0700 Subject: [emacs] Make sure .py and .aurora files are marked as python. --- emacs.d/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 2cedd4a..d8f462a 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -259,7 +259,7 @@ (setq flycheck-puppet-lint-rc "/Users/fcuny/src/twitter-ops/utilities/puppet/.puppet-lint.rc")) (use-package python - :mode ("\\.aurora$" . python-mode) + :mode(("\\.aurora$" . python-mode) ("BUILD$" . python-mode) :interpreter ("python" . python-mode) @@ -269,6 +269,8 @@ :config (setq python-indent-offset 2) (add-hook 'python-mode-hook 'color-identifiers-mode)) + ("\\.py$" . python-mode)) + (use-package recentf :config -- cgit 1.4.1