diff --git a/home/emacs/init.el b/home/emacs/init.el index a9929f4..992b1db 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -854,14 +854,15 @@ Point must be at the beginning of balanced expression (sexp)." ;; Magit requires 'transient' >= 0.5.0, but due to bad defaults, Emacs' package manager refuses to ;; upgrade this and other built-in packages to higher releases from GNU Elpa. +(use-package transient + :init + (progn (unload-feature 'transient t) + (require 'transient))) ;; To fix this, you have to add this to your init file: ;; (setq package-install-upgrade-built-in t) ;; You must also make sure the updated version is loaded, by evaluating the `progn` form below. (use-package magit :after transient - :init - (progn (unload-feature 'transient t) - (require 'transient)) :autoload magit) diff --git a/home/home-configuration.scm b/home/home-configuration.scm index 85d1fa1..216982e 100644 --- a/home/home-configuration.scm +++ b/home/home-configuration.scm @@ -205,5 +205,4 @@ (default-cache-ttl 7200) (default-cache-ttl-ssh 7200) (extra-content "grab\nallow-emacs-pinentry\nallow-loopback-pinentry"))) - (service home-dbus-service-type) - ))) + (service home-dbus-service-type))))