diff options
author | Martin Polden <mpolden@mpolden.no> | 2020-03-07 15:00:38 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2020-03-07 15:06:19 +0100 |
commit | adba629ce7996a6cd204c1eff82c931bac107ed3 (patch) | |
tree | 64a24ad3675aaa3e15aed5bedae09e70a64f00b9 /lisp | |
parent | 17dc924cdf31517d4e400a78536142bb06713ae7 (diff) |
Loading subr-x explicitly is not necessary on Emacs 27
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-projectile.el | 8 |
1 files changed, 5 insertions, 3 deletions
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 |