lang/agda: load agda2 if +local #2203
This commit is contained in:
parent
74d4e120c1
commit
c483a7f7bd
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
||||||
(when (and (featurep! +local)
|
(when (and (featurep! +local)
|
||||||
(executable-find "agda-mode"))
|
(executable-find "agda-mode"))
|
||||||
(add-load-path!
|
(add-load-path!
|
||||||
(file-name-directory (shell-command-to-string "agda-mode locate"))))
|
(file-name-directory (shell-command-to-string "agda-mode locate")))
|
||||||
|
(unless (require 'agda2 nil t)
|
||||||
|
(message "Failed to find the `agda2' package")))
|
||||||
|
|
||||||
|
|
||||||
(map! :after agda2-mode
|
(map! :after agda2-mode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue