bbatsov/emacs-prelude — Issue #8: Why doesn't init.el grok prelude-dir from the environment?
Author: jerryasher
Created: 2011-10-11 18:04:23+00:00
State: open

You've convinced me to try emacs 24, so I am trying to fit it side by side with emacs 23 on windows. As part of that, I've moved the emacs-prelude dir to a different location, because I don't really use emacs.d style setup. And yet, because it's windows, I don't trust symbolic links. (Maybe I should.)

I notice in init.el that you hardcode prelude-dir as
(defvar prelude-dir "~/.emacs.d/")

I am curious if
(defvar prelude-dir (file-name-directory load-file-name))

or some variant of that might not be a better value.