mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
doom//upgrade: fix void-variable core-file error
This commit is contained in:
@ -215,9 +215,9 @@ 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)
|
||||||
(error "Couldn't find %s, was Doom cloned properly?"
|
(error "Couldn't find %s, was Doom cloned properly?"
|
||||||
(abbreviate-file-name core-file)))
|
(abbreviate-file-name core-file)))
|
||||||
|
Reference in New Issue
Block a user