.emacs.d/site-lisp/oni.el

This commit is contained in:
Tom Willemsen 2012-11-14 20:05:27 +01:00
parent 169e18603e
commit 5abfdc6b5c

View file

@ -294,6 +294,7 @@ If COUNT has been specified indent by that much, otherwise look at
(defun oni:markdown-mode-func () (defun oni:markdown-mode-func ()
"Function for `markdown-mode-hook'." "Function for `markdown-mode-hook'."
(setq-local comment-auto-fill-only-comments nil) (setq-local comment-auto-fill-only-comments nil)
(setq-local whitespace-style '(face trailing))
(auto-fill-mode) (auto-fill-mode)
(whitespace-mode)) (whitespace-mode))
@ -411,7 +412,9 @@ When dealing with braces, add another line and indent that too."
(rainbow-delimiters-mode) (rainbow-delimiters-mode)
(setq fci-rule-column 79 (setq fci-rule-column 79
fill-column 72) fill-column 72)
(fci-mode)) (setq-local whitespace-style '(tab-mark))
(fci-mode)
(whitespace-mode))
(defun oni:raise-ansi-term (arg) (defun oni:raise-ansi-term (arg)
"Create or show an `ansi-term' buffer." "Create or show an `ansi-term' buffer."