Add simple makefile target to start a sandbox version of Emacs

This starts emacs in the local copy of the .emacs.d directory we are currently
in, by creating a new `sandbox` directory as home directory, linking the current
directory as `.emacs.d` into there, and starting emacs.
This commit is contained in:
Daniel - 2020-11-21 11:46:03 +01:00
parent 5ba0b27ec4
commit 6fa623d9d7
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -55,3 +55,4 @@
/.python-environments/
/transient/
/dired-history
/sandbox/.emacs.d

View File

@ -24,6 +24,11 @@ distclean: clean
rm -rfv elpa
git checkout elpa
sandbox-start:
mkdir -p sandbox
ln -s $(PWD) sandbox/.emacs.d
HOME=$(PWD)/sandbox emacs
.SUFFIXES: .el .elc
.el.elc:
@echo "Compiling $<"