From 1c3081d9aca31c6e06e7731a2a629536ee8e8046 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 24 Jun 2013 21:41:10 -0700 Subject: [PATCH] Got rid of auto-fill-mode for html. --- init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/init.el b/init.el index d918a8ec..dc1c3aba 100644 --- a/init.el +++ b/init.el @@ -64,6 +64,12 @@ (setq js-indent-level 2) +(defun no-auto-fill-hook () (auto-fill-mode -1)) + +(add-hook 'html-mode-hook 'no-auto-fill-hook) + +(setq flyspell-issue-welcome-flag nil) + ;; ============================================================================= ;; tmux ;; =============================================================================