Fixed username (in windows-nt) in the final message after loading prelude.
This commit is contained in:
parent
99a26d88a2
commit
6c1c6ff0da
1 changed files with 5 additions and 4 deletions
9
init.el
9
init.el
|
@ -32,10 +32,11 @@
|
|||
;; Boston, MA 02110-1301, USA.
|
||||
|
||||
;;; Code:
|
||||
(defvar current-user
|
||||
(getenv
|
||||
(if (equal system-type 'windows-nt) "USERNAME" "USER")))
|
||||
|
||||
(message "Prelude is powering up... Be patient, Master %s!"
|
||||
(getenv
|
||||
(if (equal system-type 'windows-nt) "USERNAME" "USER")))
|
||||
(message "Prelude is powering up... Be patient, Master %s!" current-user)
|
||||
|
||||
(defvar prelude-dir (file-name-directory load-file-name)
|
||||
"The root dir of the Emacs Prelude distribution.")
|
||||
|
@ -102,7 +103,7 @@ by Prelude.")
|
|||
(message "Loading personal configuration files in %s..." prelude-personal-dir)
|
||||
(mapc 'load (directory-files prelude-personal-dir 't "^[^#].*el$")))
|
||||
|
||||
(message "Prelude is ready to do thy bidding, Master %s!" (getenv "USER"))
|
||||
(message "Prelude is ready to do thy bidding, Master %s!" current-user)
|
||||
|
||||
(prelude-eval-after-init
|
||||
;; greet the use with some useful tip
|
||||
|
|
Loading…
Reference in a new issue