Emacs: Add quelpa-use-package.

This commit is contained in:
tastytea 2020-02-27 03:13:15 +01:00
parent dff78b1b21
commit 6c69932c59
2 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,6 @@
;;; package-management.el --- Initialize package management. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-02-27T02:50:57+0100>
;; Time-stamp: <2020-02-27T03:13:02+0100>
;;; Commentary:
;; * Set up package sources and their priorities.
@ -96,5 +96,11 @@
:hook (after-init . my/quelpa-maybe-upgrade)
)
;; Use :quelpa in use-package configurations.
(use-package quelpa-use-package
; Override `use-package-always-ensure' for quelpa-packages.
:config (quelpa-use-package-activate-advice)
)
(provide 'basics/package-management)
;;; package-management.el ends here

View File

@ -1,6 +1,6 @@
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-02-26T23:25:30+0100>
;; Time-stamp: <2020-02-27T03:04:02+0100>
;;; Commentary:
@ -27,11 +27,11 @@
(text-mode . auto-fill-mode) ; Enable word-wrapping at fill-column.
)
(quelpa '(register-quicknav
:fetcher git
:url "https://schlomp.space/tastytea/register-quicknav.git"))
;; Quickly jump to next/previous register.
(use-package register-quicknav
:quelpa (register-quicknav
:fetcher git
:url "https://schlomp.space/tastytea/register-quicknav.git")
:custom (register-quicknav/buffer-only t)
:bind (("C-<f5>" . register-quicknav/prev-register)
("C-<f6>" . register-quicknav/next-register)