summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-02-18 19:15:56 +0000
committerYann Herklotz <git@yannherklotz.com>2023-02-18 19:15:56 +0000
commitf259292d50d4496817d3b84b7d796036f529e1d6 (patch)
treeb1abfdf966d7432b368c8d7e328ef23caea31831
parent59e0c4e9e4eafdb4736cd27ef1575a8ecec3b513 (diff)
downloadymh-emacs-f259292d50d4496817d3b84b7d796036f529e1d6.tar.gz
ymh-emacs-f259292d50d4496817d3b84b7d796036f529e1d6.zip
Only enable sbt-mode when sbt is found
-rw-r--r--init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.el b/init.el
index 9efc398..4b19132 100644
--- a/init.el
+++ b/init.el
@@ -952,6 +952,7 @@ https://yannherklotz.com"))
(setq fill-column 120))))
(use-package sbt-mode
+ :if (executable-find "sbt")
:ensure t
:defer t
:commands sbt-start sbt-command