From 1ca43ba39eb5e75543e2a53f5bc54c865ed76b4c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 20 Feb 2017 00:45:17 -0500 Subject: [PATCH] Add make run for dev purposes --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index ace8632da..0e7e22b03 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,11 @@ clean-cache: test: @$(EMACS) -l test/init.el -f 'doom-run-tests' +# This is only useful if your emacs.d is somewhere other than ~/.emacs.d (for +# development purposes for instance). +run: + @emacs --eval "(setq user-emacs-directory default-directory)" -q -l init.el + init.el: @[ -f init.el ] || $(error No init.el file; create one or copy init.example.el)