aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-05-13 11:51:53 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-05-13 11:51:53 -0700
commit0a63dc8609643d91bfd7122a280782d9d089920e (patch)
tree4a11939068f181e7f45144b2fa223b1e2799ce4b
parent37b201b5bdaab61dbd6a2f1fec013682877b93c2 (diff)
downloadhaskell-tab-indent-0a63dc8609643d91bfd7122a280782d9d089920e.tar.gz
reformat
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-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