|
From: | Óscar Fuentes |
Subject: | Re: OT: version control of .el files in NT Emacs |
Date: | Fri, 09 Sep 2016 01:03:37 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Sivaram Neelakantan <nsivaram.net@gmail.com> writes: > What's the best way to back up/version control my .Emacs and .el files > that are bog deep in some userprofile folder like > > c:/Users/ADMIN/AppData/Roaming > > I have git and cygwin installed. Ideally, I'd like to replicate the > changes into C:/Sivaram/repos everytime I tinker with the files in the > HOME. > > I could do a shell script and cp the files over and add it to the > other repo but that's a drag and I'm likely to forget to do it > regularly. In HOME put an .emacs file with a single line: (load "c:/Sivaram/repos/your_el_repo/emacs.el") where your_el_repo contains your Emacs-related files and emacs.el contains whatever you now have in %HOME%/.emacs.
[Prev in Thread] | Current Thread | [Next in Thread] |