Skip to content

Commit

Permalink
doc: init.el: add basic package installation example
Browse files Browse the repository at this point in the history
see: #205
  • Loading branch information
progfolio committed Nov 27, 2023
1 parent 3384d68 commit 86a562c
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ Packages installed via the above commands are not loaded on subsequent Emacs ses
For example:

```emacs-lisp
;; Install a package via the elpaca macro
;; See the "recipes" section of the manual for more details.
;; (elpaca example-package)
;; Install use-package support
(elpaca elpaca-use-package
;; Enable :elpaca use-package keyword.
Expand Down
5 changes: 5 additions & 0 deletions doc/common.org
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ To install and load packages persistently (across Emacs restarts), use the =elpa
For example:

#+begin_src emacs-lisp :lexical t :eval never-export :tangle "./init.el" :exports code
;; Install a package via the elpaca macro
;; See the "recipes" section of the manual for more details.

;; (elpaca example-package)

;; Install use-package support
(elpaca elpaca-use-package
;; Enable :elpaca use-package keyword.
Expand Down
5 changes: 5 additions & 0 deletions doc/elpaca.texi
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@ To install and load packages persistently (across Emacs restarts), use the @samp
For example:

@lisp
;; Install a package via the elpaca macro
;; See the "recipes" section of the manual for more details.
;; (elpaca example-package)
;; Install use-package support
(elpaca elpaca-use-package
;; Enable :elpaca use-package keyword.
Expand Down
5 changes: 5 additions & 0 deletions doc/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
;; Uncomment for systems which cannot create symlinks:
;; (elpaca-no-symlink-mode)

;; Install a package via the elpaca macro
;; See the "recipes" section of the manual for more details.

;; (elpaca example-package)

;; Install use-package support
(elpaca elpaca-use-package
;; Enable :elpaca use-package keyword.
Expand Down
5 changes: 5 additions & 0 deletions doc/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ Packages installed via the above commands are not loaded on subsequent Emacs ses
For example:

```emacs-lisp
;; Install a package via the elpaca macro
;; See the "recipes" section of the manual for more details.
;; (elpaca example-package)
;; Install use-package support
(elpaca elpaca-use-package
;; Enable :elpaca use-package keyword.
Expand Down

0 comments on commit 86a562c

Please sign in to comment.