Skip to content

Use setq in place of setq-local for indent-tabs-mode. #446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/haskell-simple-indent-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
(0 8 10 13 20 24 27 32 35 37))
(find-indent-and-backtab-positions '("\tx <- return 123 {- This is a comment -}")
(lambda ()
(setq-local indent-tabs-mode nil))))))
(setq indent-tabs-mode nil))))))

(ert-deftest find-indent-and-backtab-positions-2a ()
(should (equal '((0 8 10 13 20 24 27 32 35 37)
Expand All @@ -123,7 +123,7 @@
" e f g h"
"")
(lambda ()
(setq-local indent-tabs-mode nil))))))
(setq indent-tabs-mode nil))))))

(ert-deftest find-indent-and-backtab-positions-3a ()
(should (equal '((0 2 4 6 13 15 17 19 24 32)
Expand Down