From f60b39bb4e72a8df2dc810c65832e1bac40b4ccd Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 26 Sep 2014 05:05:48 -0700 Subject: [PATCH] add hook to remove auto fill from python mode. --- init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.el b/init.el index 2b32ec9f..3aace533 100644 --- a/init.el +++ b/init.el @@ -110,6 +110,7 @@ Return a list of installed packages or nil for every package not installed." (add-hook 'html-mode-hook 'no-auto-fill-hook) (add-hook 'text-mode-hook 'no-auto-fill-hook) +(add-hook 'python-mode-hook 'no-auto-fill-hook) (remove-hook 'text-mode-hook #'turn-on-auto-fill) (setq flyspell-issue-welcome-flag nil) @@ -335,3 +336,5 @@ Return a list of installed packages or nil for every package not installed." '(reb-re-syntax (quote string)) '(safe-local-variable-values (quote ((use-python-tabs . t) (python-indent . 4) (whitespace-line-column . 80) (lexical-binding . t))))) +(load-file "~/.emacs.d/emacs-for-python/epy-init.el") +