Currently I have the following init file to install and use use-package
:
;; Package.el
(require 'package)
(package-initialize)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
;; use-package
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
;; use use-package
;; (use-package some-pack :ensure another-pack)
Not all packages work with use-package
, so I am extending it with quelpa
. I need to install both the extension and quelpa
itself. It seeems it could work like this:
(use-package quelpa-use-package
:ensure t
:init
(setq quelpa-update-melpa-p nil)
(setq quelpa-self-upgrade-p nil))
If I start my init file in this way, I do not get any error. However, when I try to add a git package, such as matrix-client:
(use-package matrix-client
:quelpa (matrix-client :fetcher github :repo "alphapapa/matrix-client.el"
:files (:defaults "logo.png" "matrix-client-standalone.el.sh")))
I get at startup:
Error (use-package): Failed to parse package matrix-client: use-package: Unrecognized keyword: :quelpa
How can I install quelpa-use-package
from use-package
? (If I can)