summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-11-20 18:53:43 +0100
committerGravatar Tom Willemsen2012-11-20 18:53:43 +0100
commite2ed387df12186dba6f6e0c60044ae5d4d59aa20 (patch)
tree22f6626b15687d8aa14104b98fe12fd9e518a45d
parentd027e718398b1f03644ac74bfbd1575a4e09845b (diff)
downloaddotfiles-e2ed387df12186dba6f6e0c60044ae5d4d59aa20.tar.gz
dotfiles-e2ed387df12186dba6f6e0c60044ae5d4d59aa20.zip
.emacs.d/site-lisp/oni.el
-rw-r--r--.emacs.d/site-lisp/oni.el6
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)