Improve +fci|disable-when-company-activates

This commit is contained in:
re-mx 2018-09-10 17:56:09 +08:00
parent fe79178b1f
commit 947130df8b

View File

@ -5,8 +5,7 @@
;;;###autoload
(defun +fci|disable-when-company-activates (&rest ignore)
"TODO"
(setq +fci-last-state fci-mode)
(when fci-mode
(when (setq +fci-last-state (bound-and-true-p fci-mode))
(fci-mode -1)))
;;;###autoload