Replace "Doom" w/ ~/.emacs.d when 'upgrade' fails

This commit is contained in:
Henrik Lissner 2019-05-11 21:20:09 -04:00
parent a558f9b3f1
commit 2358dbfc84
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -40,7 +40,8 @@ Doing so is equivalent to:
(unless branch
(error "Couldn't detect what branch you're using. Is Doom detached?"))
(when (doom--working-tree-dirty-p doom-emacs-dir)
(user-error "Refusing to upgrade because Doom has been modified. Stash or undo your changes"))
(user-error "Refusing to upgrade because %S has been modified. Stash or undo your changes"
(abbreviate-file-name doom-emacs-dir)))
(with-temp-buffer
(let ((buf (current-buffer)))
(condition-case-unless-debug e