windos中emacs的HOME设置

方法一
C:/Documents and Settings/用户名/Application Data/.emacs
内容:(load-file "D:/Program Files/.emacs")


D:/Program Files/.emacs内容:
(setenv "HOME" "E:/water")
(setenv "PATH" "E:/water")
;;set the default file path
(setq default-directory "~/")
(add-to-list 'load-path "~/emacs/site-lisp")


方法二 emacs.bat:
"D:\Program Files\emacs\bin\emacs.exe"  -q -l "D:\Program Files\.emacs"

转:
http://emacser.com/windows-emacs-home.htm#comment-25129

你可能感兴趣的:(emacs)