el-get/.dir-locals.el
Ryan C. Thompson c71491a417 Add an explanatory "comment" to .dir-locals.el
It is actually a string because "add-dir-local-variable" and related
functions will blow away comments in the file.
2012-02-24 12:03:45 -08:00

19 lines
829 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 progn
(add-hook 'before-save-hook 'delete-trailing-whitespace)
(set-face-attribute 'whitespace-line nil :background "red1" :foreground "yellow" :weight 'bold)
(set-face-attribute 'whitespace-tab nil :background "red1" :foreground "yellow" :weight 'bold)
(require 'whitespace)
"Need to ensure that whitespace mode is turned off and on again. This guaranteees that the new values of the whitespace-related variables will take effect."
(whitespace-mode 0)
(whitespace-mode 1))))