From a16f2f08b47f6b92bffe4be0eeffc2c7b224ae77 Mon Sep 17 00:00:00 2001 From: David Rothlisberger Date: Fri, 4 May 2012 16:58:29 +0100 Subject: [PATCH] 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. --- fill-column-indicator.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fill-column-indicator.el b/fill-column-indicator.el index bcb297f..1d44c21 100644 --- a/fill-column-indicator.el +++ b/fill-column-indicator.el @@ -419,6 +419,7 @@ U+E000-U+F8FF, inclusive)." ;;; Mode Definition ;;; --------------------------------------------------------------------- +;;;###autoload (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)))) +;;;###autoload (defun turn-on-fci-mode () "Turn on fci-mode unconditionally." (interactive)