From 02df15b7c4f0536985db61437601fbadbf5e7eee Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Fri, 10 Jun 2022 19:54:10 +0200 Subject: [PATCH] Assimilate compat --- .gitmodules | 3 +++ early-init.el | 1 + lib/compat | 1 + 3 files changed, 5 insertions(+) create mode 160000 lib/compat diff --git a/.gitmodules b/.gitmodules index d0d5a15..a300699 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,6 +10,9 @@ [submodule "closql"] path = lib/closql url = git@github.com:emacscollective/closql.git +[submodule "compat"] + path = lib/compat + url = https://git.sr.ht/~pkal/compat [submodule "dash"] no-byte-compile = dash-functional.el no-makeinfo = dash-template.texi diff --git a/early-init.el b/early-init.el index 14f24aa..a3f41b7 100644 --- a/early-init.el +++ b/early-init.el @@ -3,6 +3,7 @@ (setq load-prefer-newer t) (let ((dir (file-name-directory (or load-file-name buffer-file-name)))) + (add-to-list 'load-path (expand-file-name "lib/compat" dir)) (add-to-list 'load-path (expand-file-name "lib/packed" dir)) (add-to-list 'load-path (expand-file-name "lib/auto-compile" dir))) (require 'auto-compile) diff --git a/lib/compat b/lib/compat new file mode 160000 index 0000000..8c51417 --- /dev/null +++ b/lib/compat @@ -0,0 +1 @@ +Subproject commit 8c514176612add24d1d5d8554510547ccc841a25