Prepare for using use-package

This commit is contained in:
larstvei 2023-06-11 21:43:40 +02:00
parent 5943d8a3dc
commit 9521ff0240

View File

@ -51,7 +51,6 @@
and you might have to restart your Emacs the first time. If you experience and you might have to restart your Emacs the first time. If you experience
bugs, please let me know! bugs, please let me know!
* Configurations
* Meta * Meta
All changes to the configuration should be done in =init.org=, *not* in All changes to the configuration should be done in =init.org=, *not* in
@ -174,15 +173,13 @@
* Packages * Packages
Managing extensions for Emacs is simplified using =package= which is built in John Wiegley's extremely popular [[https://github.com/jwiegley/use-package][use-package]] was included in [[https://lists.gnu.org/archive/html/emacs-devel/2022-12/msg00261.html][Emacs 29]]. It
to Emacs 24 and newer. To load downloaded packages we need to initialize provides a powerful macro for isolating package configuration. After ignoring
=package=. =cl= is a library that contains many functions from Common Lisp, this for a decade, I'll budge and give it a whirl.
and comes in handy quite often, so we want to make sure it's loaded, along
with =package=, which is obviously needed.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(require 'package) (require 'use-package)
#+end_src #+end_src