Add requested changes

This commit is contained in:
Reed Mullanix 2019-04-20 19:33:13 -07:00
parent 14f1a1e4e4
commit aa920103e6
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,5 @@
;;; lang/fsharp/doctor.el -*- lexical-binding: t; -*-
(unless (-any #'fsharp-mode--executable-find '("fsharpc" "fsc"))
(warn! "Cannot find the F# compiler. Most features will not work."))
(when (require 'fsharp-mode nil t)
(unless (cl-some #'fsharp-mode--executable-find '("fsharpc" "fsc"))
(warn! "Cannot find the F# compiler. Most features will not work.")))