Replace `quelpa' with `package-vc-install'

This commit is contained in:
Gerard Vermeulen 2023-01-28 11:44:29 +01:00
parent 3a9f1ac1b0
commit 1263846aa2
2 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@ -29,6 +29,5 @@ worg-backend-dependent-execution-update.org
/_minted-README
/eln-cache
/elpa
/quelpa
/tree-sitter
/var

View File

@ -4178,10 +4178,11 @@ install and use [[https://gitlab.com/andreyorst/ob-fennel][ob-fennel]] with the
#+name: lst:install-ob-fennel-mode
#+begin_src emacs-lisp -n
(when (and (executable-find "fennel")
(ensure-package-installation 'fennel-mode 'quelpa))
(ensure-package-installation 'fennel-mode))
(unless (package-installed-p 'ob-fennel)
(quelpa '(ob-fennel :repo "andreyorst/ob-fennel" :fetcher gitlab)))
(when (ensure-package-selection 'ob-fennel)
(package-vc-install "https://gitlab.com/andreyorst/ob-fennel"))
(when (package-installed-p 'ob-fennel)
(ensure-package-installation 'ob-fennel)
(set-org-babel-language-activity 'fennel (fboundp 'fennel-mode))))
#+end_src