diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-07-01 10:58:58 +0100 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-07-01 10:58:58 +0100 |
commit | b4cb851aef96c42ec7b3cc37b6fdd867fe5a0853 (patch) | |
tree | 5354ac615d4fbaf49ea0d8e219c147daf41ad89a | |
parent | f21845e45135fdc240034f4e3dc0cd7f61e1bf66 (diff) | |
download | haskell-tab-indent-b4cb851aef96c42ec7b3cc37b6fdd867fe5a0853.tar.gz |
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.
-rw-r--r-- | haskell-tab-indent.el | 4 |
1 files 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: |