aboutsummaryrefslogtreecommitdiffhomepage
path: root/haskell-tab-indent.el
diff options
context:
space:
mode:
Diffstat (limited to 'haskell-tab-indent.el')
-rw-r--r--haskell-tab-indent.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/haskell-tab-indent.el b/haskell-tab-indent.el
index 9680749..50a55e9 100644
--- a/haskell-tab-indent.el
+++ b/haskell-tab-indent.el
@@ -93,11 +93,8 @@
;; if the previous line was the beginning of a where
;; clause, indent should be exactly one more
(prev-line-where
- ;; also ensure indentation of the 'where' is
- ;; correct
- (save-excursion
- (forward-line -1)
- (haskell-tab-indent))
+ ;; also ensure indentation of the 'where' is correct
+ (save-excursion (forward-line -1) (haskell-tab-indent))
(1+ prev-line-tabs))
;; if the user explicitly requested an indent
;; change, cycle through the plausible indents