Skip to content

Commit

Permalink
Drop lean4-default-*-name variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mekeor committed Dec 10, 2024
1 parent 65948f3 commit db59e25
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions lean4-settings.el
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@
:link '(emacs-library-link :tag "Library Source" "lean4-mode.el")
:prefix "lean4-")

(defconst lean4-default-executable-name
(if (eq system-type 'windows-nt) "lean.exe" "lean")
"Default executable name of Lean.")

(defconst lean4-default-lake-name
(if (eq system-type 'windows-nt) "lake.exe" "lake")
"Default executable name of Lake.")

(defcustom lean4-mode-hook (list #'lsp)
"Hook run after entering `lean4-mode'."
:options '(flycheck-mode lsp)
Expand All @@ -53,12 +45,14 @@
:group 'lean4
:type 'string)

(defcustom lean4-executable-name lean4-default-executable-name
(defcustom lean4-executable-name
(if (eq system-type 'windows-nt) "lean.exe" "lean")
"Name of lean executable."
:group 'lean4
:type 'string)

(defcustom lean4-lake-name lean4-default-lake-name
(defcustom lean4-lake-name
(if (eq system-type 'windows-nt) "lake.exe" "lake")
"Name of lake executable."
:group 'lake
:type 'string)
Expand Down

0 comments on commit db59e25

Please sign in to comment.