From f3e81b3f1ff240c448d978ab8fd4616fd44e2bff Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 9 Jun 2013 21:05:35 -0700 Subject: [PATCH 1/3] Switched js indent. --- init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.el b/init.el index 9232e968..d918a8ec 100644 --- a/init.el +++ b/init.el @@ -62,6 +62,8 @@ ;; find-file-in-project (setq ffip-limit 9999999999) +(setq js-indent-level 2) + ;; ============================================================================= ;; tmux ;; ============================================================================= From 1c3081d9aca31c6e06e7731a2a629536ee8e8046 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 24 Jun 2013 21:41:10 -0700 Subject: [PATCH 2/3] 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 ;; ============================================================================= From 18d7861e8281e564c275e6851b9778a0f165e81f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 8 Jul 2013 11:06:11 -0700 Subject: [PATCH 3/3] Got rid of auto fill mode. set default js-indent-level. --- init.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init.el b/init.el index 9232e968..dc1c3aba 100644 --- a/init.el +++ b/init.el @@ -62,6 +62,14 @@ ;; find-file-in-project (setq ffip-limit 9999999999) +(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 ;; =============================================================================