Merge pull request #366 from shanmuha/master

Username fix for windows-nt
This commit is contained in:
Bozhidar Batsov 2013-07-31 15:21:29 -07:00
commit c4d96549a4

View file

@ -33,7 +33,9 @@
;;; Code: ;;; Code:
(message "Prelude is powering up... Be patient, Master %s!" (getenv "USER")) (message "Prelude is powering up... Be patient, Master %s!"
(getenv
(if (equal system-type 'windows-nt) "USERNAME" "USER")))
(defvar prelude-dir (file-name-directory load-file-name) (defvar prelude-dir (file-name-directory load-file-name)
"The root dir of the Emacs Prelude distribution.") "The root dir of the Emacs Prelude distribution.")