summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorspwhitton2019-03-29 22:47:20 +0000
committeradmin2019-03-29 22:47:20 +0000
commitda07f1cde6544e57c598b7d0e4c818c59413145e (patch)
treee883f375d33affa842165bf867059e8a4ef5b16d /doc
parentb81397842b4289397fd9b069f5801f58c0041d1a (diff)
fix .dir-locals.el to avoid apparent memory leak bug with Emacs 26
Diffstat (limited to 'doc')
-rw-r--r--doc/coding_style.mdwn2
1 files changed, 1 insertions, 1 deletions
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.