Skip to content

Commit d8d947d

Browse files
committed
elx-license-use-licensee: Only default to t if it can be found
1 parent 13ed23e commit d8d947d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elx.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ is NAME, and the license that would be returned is FOUND, then
987987
(const :tag "No license"))
988988
(string :tag "Substitute"))))
989989

990-
(defcustom elx-license-use-licensee t
990+
(defcustom elx-license-use-licensee (and (executable-find "licensee") t)
991991
"Whether `elx-license' used the \"licensee\" executable."
992992
:group 'elx
993993
:type 'boolean)

0 commit comments

Comments
 (0)