Total load time for 90+ packages without byte-compiling: 3s... amazing ! Thanks to \@jwiegley :-)
21 lines
431 B
EmacsLisp
21 lines
431 B
EmacsLisp
(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))
|
|
|
|
(use-package fill-column-indicator
|
|
:commands toggle-fill-column-indicator)
|
|
|