Last active
June 10, 2023 16:23
-
-
Save cryptorick/b49627b66ee4182f7bcf6bd12fa78dae to your computer and use it in GitHub Desktop.
Example Emacs init using Elpaso. (For my friend Raoul)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;---------------------------------------------------------------------- | |
;; Elpaso package manager | |
;; Bootstrap it outside of Emacs: these commands will install cask and elpaso, | |
;; respectively, to ~/.emacs.d/elpa. | |
;; | |
;; $ cd builds # go somewhere where you usually build software. | |
;; $ git clone https://github.com/cask/cask && make -C cask install | |
;; $ git clone https://github.com/commercial-emacs/elpaso && make -C elpaso install | |
(package-initialize) ; add all packages in `elpa/` to `load-path`. | |
(require 'elpaso) ; now we can load elpaso. | |
;; Let elpaso handle use-package ensures (i.e., installs). | |
(require 'use-package) | |
(setq use-package-ensure-function 'elpaso-use-package-ensure-function) | |
;;---------------------------------------------------------------------- | |
;; Your use-package invocations | |
(use-package projectile | |
:ensure t ;; this ensures `projectile` is installed (and elpaso will handle it). | |
:config | |
(projectile-mode +1)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment