doom//upgrade: fix void-variable core-file error
This commit is contained in:
parent
5cf899deb4
commit
365201bfcf
1 changed files with 3 additions and 3 deletions
|
@ -215,7 +215,7 @@ recompile. Run this whenever you:
|
||||||
"Upgrade Doom to the latest version."
|
"Upgrade Doom to the latest version."
|
||||||
(interactive)
|
(interactive)
|
||||||
(require 'vc-git)
|
(require 'vc-git)
|
||||||
(let ((core-file (expand-file-name "init.el" doom-core-dir))
|
(let* ((core-file (expand-file-name "init.el" doom-core-dir))
|
||||||
(branch (vc-git--symbolic-ref core-file))
|
(branch (vc-git--symbolic-ref core-file))
|
||||||
(default-directory doom-emacs-dir))
|
(default-directory doom-emacs-dir))
|
||||||
(unless (file-exists-p core-file)
|
(unless (file-exists-p core-file)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue