Merge pull request #366 from shanmuha/master
Username fix for windows-nt
This commit is contained in:
commit
c4d96549a4
1 changed files with 3 additions and 1 deletions
4
init.el
4
init.el
|
@ -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.")
|
||||||
|
|
Loading…
Reference in a new issue