From b40697897a8736b2a28e2789bcb705b344222780 Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 29 Jun 2017 14:58:35 -0600 Subject: add fill-column and autofill mode to python hook --- config.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.org b/config.org index 20265d3..72a1d1b 100644 --- a/config.org +++ b/config.org @@ -381,9 +381,19 @@ Elpy does a great job of supporting Python so I just use that. (use-package elpy :ensure t + :init + (setq elpy-rpc-project-specific t) :config (elpy-enable)) #+END_SRC + +Enable some other modes when editing python files + +#+BEGIN_SRC emacs-lisp +(add-hook 'python-mode-hook '(lambda () + (setq-local fill-column 79) + (auto-fill-mode 1))) +#+END_SRC ** Rust Installation: - Install Rust: https://www.rust-lang.org/en-US/install.html -- cgit v1.2.1