mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix doom//upgrade (make upgrade)
This commit is contained in:
@ -214,6 +214,7 @@ recompile. Run this whenever you:
|
|||||||
(defun doom//upgrade ()
|
(defun doom//upgrade ()
|
||||||
"Upgrade Doom to the latest version."
|
"Upgrade Doom to the latest version."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
(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))
|
||||||
|
Reference in New Issue
Block a user