Browse files

Autoload fci-mode and turn-on-fci-mode.

So that in my init file I can say (add-hook 'prog-mode-hook 'turn-on-fci-mode)
without having to load the package up-front.
  • Loading branch information...
1 parent 51ef352 commit a16f2f08b47f6b92bffe4be0eeffc2c7b224ae77 @drothlis drothlis committed May 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 fill-column-indicator.el
2 fill-column-indicator.el
@@ -419,6 +419,7 @@ U+E000-U+F8FF, inclusive)."
;;; Mode Definition
;;; ---------------------------------------------------------------------
(define-minor-mode fci-mode
"Toggle fci-mode on and off.
Fci-mode indicates the location of the fill column by drawing a
@@ -465,6 +466,7 @@ on troubleshooting.)"
(dolist (var fci-internal-vars)
(set var nil))))
(defun turn-on-fci-mode ()
"Turn on fci-mode unconditionally."

0 comments on commit a16f2f0

Please sign in to comment.