branch: elpa/haskell-tng-mode
commit 2df165a3020ecd3f4385f76def1c396937ef249a
Author: Tseen She <ts33n....@gmail.com>
Commit: Tseen She <ts33n....@gmail.com>

    electric indent locally disabled only
---
 haskell-tng-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/haskell-tng-mode.el b/haskell-tng-mode.el
index 470f2d6..9bc358d 100644
--- a/haskell-tng-mode.el
+++ b/haskell-tng-mode.el
@@ -83,7 +83,7 @@ Load `prettify-symbols-mode' in `haskell-tng-mode-hook'."
   ;; whitespace is meaningful, disable electric indentation. Note that
   ;; `electric-indent-inhibit' causes a performance regression in SMIE
   ;; indentation, so it's best to just make sure it is disabled.
-  (electric-indent-mode 0)
+  (electric-indent-local-mode 0)
 
   (setq-local smie-blink-matching-inners nil) ;; c.f. `smie-closer-alist'
 

Reply via email to