Fix the function ‘editorconfig-mode’ is not known to be defined

FS #2
This commit is contained in:
Jesús 2019-01-22 18:31:00 -05:00
parent ccfd6a33cd
commit 323b9b6e01
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -8,7 +8,9 @@
;;----------------------------------------------------------------------------
(use-package editorconfig
:config
(editorconfig-mode 1))
(when (and (require 'editorconfig nil t)
(fboundp 'editorconfig-mode))
(editorconfig-mode 1)))
(provide 'init-editorconfig)