Skip to content

Commit 3e95336

Browse files
cocreaturechrisdone
authored andcommitted
Disable electric indent during testing
1 parent 8abc5cd commit 3e95336

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

elisp/shm-test.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
(structured-haskell-mode t)
4545
(when (fboundp 'god-local-mode)
4646
(god-local-mode -1))
47+
(when (fboundp 'electric-indent-mode)
48+
(electric-indent-mode -1))
4749
(erase-buffer)
4850
(insert "\n")
4951
(setq shm-test-eob (set-marker (make-marker) (point)))
@@ -123,6 +125,8 @@
123125
(kill-all-local-variables)
124126
(when (fboundp 'god-local-mode)
125127
(god-local-mode -1))
128+
(when (fboundp 'electric-indent-mode)
129+
(electric-indent-mode -1))
126130
(let ((customizations (plist-get test :customizations)))
127131
(when customizations
128132
(dolist (entry customizations)

0 commit comments

Comments
 (0)