From adba629ce7996a6cd204c1eff82c931bac107ed3 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Sat, 7 Mar 2020 15:00:38 +0100 Subject: Loading subr-x explicitly is not necessary on Emacs 27 --- lisp/init-projectile.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lisp/init-projectile.el') diff --git a/lisp/init-projectile.el b/lisp/init-projectile.el index 659fb2f..75f8e6a 100644 --- a/lisp/init-projectile.el +++ b/lisp/init-projectile.el @@ -1,7 +1,9 @@ -;; projectile fails to load subr-x under some circumstances +;; projectile fails to load subr-x under some circumstances on 26.3 ;; https://github.com/bbatsov/projectile/issues/1382 -(use-package subr-x - :ensure nil) ;; package is bundled with emacs + +(when (< emacs-major-version 27) + (use-package subr-x + :ensure nil)) ;; package is bundled with emacs (use-package projectile :after subr-x -- cgit v1.2.3