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

This commit is contained in:
Tom Willemsen 2012-11-20 18:53:43 +01:00
parent d027e71839
commit e2ed387df1

View file

@ -402,6 +402,12 @@ When dealing with braces, add another line and indent that too."
(rainbow-delimiters-mode) (rainbow-delimiters-mode)
(setq fci-rule-column 80)) (setq fci-rule-column 80))
(defun oni:pretty-control-l-function (win)
"Just make a string of either `fci-rule-colum' or `fill-column'
length -1. Use the `-' character. WIN is ignored."
(make-string
(1- (if (boundp 'fci-rule-column) fci-rule-column fill-column)) ?-))
(defun oni:prog-mode-func () (defun oni:prog-mode-func ()
"Function for `prog-mode-hook'." "Function for `prog-mode-hook'."
(rainbow-delimiters-mode) (rainbow-delimiters-mode)