From da07f1cde6544e57c598b7d0e4c818c59413145e Mon Sep 17 00:00:00 2001 From: spwhitton Date: Fri, 29 Mar 2019 22:47:20 +0000 Subject: fix .dir-locals.el to avoid apparent memory leak bug with Emacs 26 --- doc/coding_style.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/coding_style.mdwn') diff --git a/doc/coding_style.mdwn b/doc/coding_style.mdwn index bf127fe0..8c464b9d 100644 --- a/doc/coding_style.mdwn +++ b/doc/coding_style.mdwn @@ -120,6 +120,6 @@ Note for emacs users: You can put the following snippet into a file called (tab-width . 8) (fill-column . 80))) ;; Warn about spaces used for indentation: - (haskell-mode . ((eval . (highlight-regexp "^ *"))))) + (haskell-mode . ((eval . (highlight-regexp "^ +"))))) Also consider [haskell-tab-indent-mode](https://spwhitton.name/tech/code/haskell-tab-indent/). The standard indentation modes that come with haskell-mode do not work well with tabs for indentation. This mode works well for hacking on Propellor. -- cgit v1.2.3