branch: externals/matlab-mode commit 4dbdcc5bfa2c97f4116c852873531c0afd869096 Author: John Ciolfi <john.ciolfi...@gmail.com> Commit: John Ciolfi <john.ciolfi...@gmail.com>
contributing/DEBUGGING.org: add Testing Emacs via a custom HOME --- contributing/DEBUGGING.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/contributing/DEBUGGING.org b/contributing/DEBUGGING.org index b260afe528..979888f13c 100644 --- a/contributing/DEBUGGING.org +++ b/contributing/DEBUGGING.org @@ -65,4 +65,17 @@ the resource requires on MATLAB: See [[https://www.mathworks.com/help/matlab/startup-and-shutdown.html][MATLAB Startup and Shutdown]] for other options. +* Testing Emacs via a custom HOME + +On Linux or Mac: + +#+begin_src bash + mkdir ~/test-home + env HOME=~/test-home emacs +#+end_src + +will run Emacs with a clean environment. Within Emacs, "~" will expand to =/home/USER/test-home= +and if =test-home= is empty, then =~/.emacs= will not exist and you can create it. Likewise, =M-x +package-install=, etc. will install into =/home/USER/test-home/.emacs.d=. + # LocalWords: showall env nodesktop nosplash