diff options
author | Tom Willemsen | 2012-11-20 18:53:43 +0100 |
---|---|---|
committer | Tom Willemsen | 2012-11-20 18:53:43 +0100 |
commit | e2ed387df12186dba6f6e0c60044ae5d4d59aa20 (patch) | |
tree | 22f6626b15687d8aa14104b98fe12fd9e518a45d /.emacs.d/site-lisp | |
parent | d027e718398b1f03644ac74bfbd1575a4e09845b (diff) | |
download | dotfiles-e2ed387df12186dba6f6e0c60044ae5d4d59aa20.tar.gz dotfiles-e2ed387df12186dba6f6e0c60044ae5d4d59aa20.zip |
.emacs.d/site-lisp/oni.el
Diffstat (limited to '.emacs.d/site-lisp')
-rw-r--r-- | .emacs.d/site-lisp/oni.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs.d/site-lisp/oni.el b/.emacs.d/site-lisp/oni.el index bfdf369..286f19b 100644 --- a/.emacs.d/site-lisp/oni.el +++ b/.emacs.d/site-lisp/oni.el @@ -402,6 +402,12 @@ When dealing with braces, add another line and indent that too." (rainbow-delimiters-mode) (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 () "Function for `prog-mode-hook'." (rainbow-delimiters-mode) |