1

Add OS-specific default-directory setting

This commit is contained in:
Jessie Hildebrandt 2019-11-02 00:08:23 +00:00
parent ceb4e9077d
commit 386abb696e

View File

@ -73,6 +73,12 @@
c-default-style "bsd"
)
;; (OS-specific) Set the default working directory.
(if (or (eq system-type 'windows-nt)
(eq system-type 'ms-dos))
(setq default-directory (getenv "USERPROFILE"))
(setq default-directory "~/"))
;; Disable some unnecessary byte compilation warnings.
(setq byte-compile-warnings '(not
free-vars