Skip to content

Commit 193d916

Browse files
committed
Add file-local variable to avoid whitespace cleanup.
1 parent ab04a23 commit 193d916

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/elixir-mode-indentation-tests.el

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,3 +535,12 @@ defmodule RSS do
535535
x = 1
536536
end
537537
end")
538+
539+
;; We don't want automatic whitespace cleanup here because of the significant
540+
;; whitespace after `Record' above. By setting `whitespace-action' to nil,
541+
;; `whitespace-mode' won't automatically clean up trailing whitespace (in my
542+
;; config, anyway).
543+
544+
;;; Local Variables:
545+
;;; whitespace-action: nil
546+
;;; End:

0 commit comments

Comments
 (0)