Fix Emacs
--batch implies -q, so we have to explicitly load init.el
This commit is contained in:
@@ -129,6 +129,8 @@ fn run() -> Result<()> {
|
||||
if home_path(".emacs.d").exists() {
|
||||
Command::new(&emacs)
|
||||
.arg("--batch")
|
||||
.arg("-l")
|
||||
.arg(home_path(".emacs.d/init.el"))
|
||||
.arg("--eval")
|
||||
.arg(EMACS_UPGRADE)
|
||||
.spawn()?
|
||||
|
||||
Reference in New Issue
Block a user