From af8997ff6512edbcaa5d2e137606af4250aac185 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Tue, 3 May 2022 18:54:16 -0400 Subject: [PATCH] make init.el more path-agnostic --- .hgignore | 2 ++ init.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.hgignore b/.hgignore index e4f53f5..d15e8b5 100644 --- a/.hgignore +++ b/.hgignore @@ -3,6 +3,8 @@ syntax: glob auto-save-list elpa emms +ido.last +projectile-bookmarks.eld straight transient *~ diff --git a/init.el b/init.el index 0b920e7..e920ce7 100644 --- a/init.el +++ b/init.el @@ -18,7 +18,7 @@ straight-use-package-by-default t package-enable-at-startup nil straight-vc-git-default-protocol 'https - load-path (cons "~/.emacs-new.d/lisp" load-path) + load-path (cons (concat user-emacs-directory "lisp") load-path) inhibit-startup-screen t org-directory "~/org/" line-move-visual nil