Username fix for windows-nt

This commit is contained in:
Shanmu Thiagaraja 2013-07-31 14:25:23 +01:00
parent 8905997172
commit 99a26d88a2

View file

@ -33,7 +33,9 @@
;;; 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)
"The root dir of the Emacs Prelude distribution.")