Username fix for windows-nt
This commit is contained in:
parent
8905997172
commit
99a26d88a2
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