Created
December 9, 2012 20:26
-
-
Save ping13/4246839 to your computer and use it in GitHub Desktop.
My $HOME/.emacs file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; I use Emacs on three different platforms and I want to use the same init file. | |
; So, this file lives as $HOME/.emacs and is just a pointer to an init file in my Dropbox. | |
; The machine specific automatic customizations are saved here nonetheless. | |
; The real dot-emacs file is in ~/Dropbox/myemacs/init.el | |
(setq my-emacs-root (expand-file-name "~/Dropbox/myemacs/")) | |
(add-to-list 'load-path my-emacs-root) | |
(load-file (concat my-emacs-root "init.el")) | |
; automatic customization | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment