1, 设置用于当前用户且仅限于Emacs的HOME: reg add HKCU\Software\GNU\Emacs /t reg_sz /v HOME /d "path\to\Emacs" 2, pending