el-get/.dir-locals.el
Ryan C. Thompson 5fbfb3caad Remove global settings from .dir-locals.el
Some of the settings in .dir-locals.el were modifying variables or
properties that are not buffer-local. This commit attempts to fix that
while preserving the same functionality as much as possible.

Should fix #618.
2012-02-29 08:52:27 -08:00

20 lines
633 B
EmacsLisp

;;; 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
(whitespace-style face trailing lines-tail)
(whitespace-line-column . 80)
(eval ignore-errors
(add-hook 'write-contents-functions
(lambda ()
(delete-trailing-whitespace (point-min) (point-max))
nil))
(require 'whitespace)
"Sometimes the mode needs to be toggled off and on."
(whitespace-mode 0)
(whitespace-mode 1))))