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:
parent
5ba0b27ec4
commit
6fa623d9d7
|
@ -55,3 +55,4 @@
|
||||||
/.python-environments/
|
/.python-environments/
|
||||||
/transient/
|
/transient/
|
||||||
/dired-history
|
/dired-history
|
||||||
|
/sandbox/.emacs.d
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -24,6 +24,11 @@ distclean: clean
|
||||||
rm -rfv elpa
|
rm -rfv elpa
|
||||||
git checkout elpa
|
git checkout elpa
|
||||||
|
|
||||||
|
sandbox-start:
|
||||||
|
mkdir -p sandbox
|
||||||
|
ln -s $(PWD) sandbox/.emacs.d
|
||||||
|
HOME=$(PWD)/sandbox emacs
|
||||||
|
|
||||||
.SUFFIXES: .el .elc
|
.SUFFIXES: .el .elc
|
||||||
.el.elc:
|
.el.elc:
|
||||||
@echo "Compiling $<"
|
@echo "Compiling $<"
|
||||||
|
|
Loading…
Reference in New Issue