2012-02-24 05:18:48 +08:00
;;; 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 )
2012-02-27 15:15:11 +08:00
( eval ignore-errors
2012-02-24 05:18:48 +08:00
( add-hook 'before-save-hook 'delete-trailing-whitespace )
2012-02-27 15:15:11 +08:00
( require 'whitespace )
2012-02-24 05:18:48 +08:00
( set-face-attribute 'whitespace-line nil :background " red1 " :foreground " yellow " :weight 'bold )
( set-face-attribute 'whitespace-tab nil :background " red1 " :foreground " yellow " :weight 'bold )
2012-02-25 04:03:45 +08:00
" 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. "
2012-02-24 05:18:48 +08:00
( whitespace-mode 0 )
( whitespace-mode 1 ) ) ) )