From 947130df8b3b0da261a2cba3a642e998d944f022 Mon Sep 17 00:00:00 2001 From: re-mx Date: Mon, 10 Sep 2018 17:56:09 +0800 Subject: [PATCH] Improve +fci|disable-when-company-activates --- modules/ui/fci/autoload.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ui/fci/autoload.el b/modules/ui/fci/autoload.el index f59f555db..f7af8865f 100644 --- a/modules/ui/fci/autoload.el +++ b/modules/ui/fci/autoload.el @@ -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