From 4b251eaf7910d998f237b30ef02c7202b66ef6d0 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Fri, 8 Apr 2016 10:45:43 -0700 Subject: [PATCH] Add python mode helper to set rule to PEP standards --- dotfiles/emacs.d/init.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index be72925..ea5d526 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -280,6 +280,14 @@ (global-fci-mode t) ;;-------------------------------------------------------------------------------------- +;; If python.el is loaded, change the rule column to 80 characters. +;;-------------------------------------------------------------------------------------- +(eval-after-load "python" + '(progn + (setq fci-rule-column 80))) + + +;;-------------------------------------------------------------------------------------- ;; Expand region settings ;;--------------------------------------------------------------------------------------