(require 'fill-column-indicator)

(setq fci-rule-column 79)
(setq fci-rule-width 1)
(setq fci-enabled 0)

(defun toggle-fill-column-indicator ()
  (interactive)
  (make-local-variable 'fci-enabled)
  (if (> fci-enabled 0) (deactivate-fci) (activate-fci)))

(defun activate-fci ()
  (setq fci-enabled 1)
  (fci-mode 1))

(defun deactivate-fci ()
  (setq fci-enabled 0)
  (fci-mode 0))

(require 'fill-column-indicator)

(setq fci-rule-width 1)
(setq fci-enabled 0)

(defun toggle-fill-column-indicator ()
  (interactive)
  (make-local-variable 'fci-enabled)
  (if (> fci-enabled 0) (deactivate-fci) (activate-fci)))

(defun activate-fci ()
  (setq fci-rule-column 79)
  (setq fci-enabled 1)
  (fci-mode 1))

(defun deactivate-fci ()
  (setq fci-enabled 0)
  (fci-mode 0))

Fix correct column to highlight with fill-column-indicator
Fix correct column to highlight with fill-column-indicator

tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs