From 8d28c47d61a1bb46b6107179f3165ed36121323b 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 ;;--------------------------------------------------------------------------------------