From b4cb851aef96c42ec7b3cc37b6fdd867fe5a0853 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 1 Jul 2017 10:58:58 +0100 Subject: update sample hook to ensure modes are turned on, not just toggled Recent haskell-mode activates haskell-indentation-mode at startup, and the hook could toggle it off, which is not desired. --- haskell-tab-indent.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haskell-tab-indent.el b/haskell-tab-indent.el index d462596..636713b 100644 --- a/haskell-tab-indent.el +++ b/haskell-tab-indent.el @@ -44,8 +44,8 @@ ;; (add-hook 'hack-local-variables-hook ;; (lambda () ;; (if indent-tabs-mode -;; (haskell-tab-indent-mode) -;; (haskell-indentation-mode))) +;; (haskell-tab-indent-mode 1) +;; (haskell-indentation-mode 1))) ;; nil t))) ; local hook ;;; Code: -- cgit v1.2.3