forked from dimitri/el-get
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dir-locals.el
More file actions
21 lines (20 loc) · 746 Bytes
/
.dir-locals.el
File metadata and controls
21 lines (20 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;;; Directory Local Variables
;;; See Info node `(emacs) Directory Variables' for more information.
((nil
(sentence-end-double-space . t)
(require-final-newline . t)
(indent-tabs-mode))
(emacs-lisp-mode
(byte-compile-warnings . (not cl-functions))
(whitespace-style face tabs trailing lines-tail)
(whitespace-line-column . 80)
(eval ignore-errors
"Write-contents-functions is a buffer-local alternative to before-save-hook"
(add-hook 'write-contents-functions
(lambda ()
(delete-trailing-whitespace)
nil))
(require 'whitespace)
"Sometimes the mode needs to be toggled off and on."
(whitespace-mode 0)
(whitespace-mode 1))))