Minor, general refactors

This commit is contained in:
Henrik Lissner 2019-11-05 18:46:07 -05:00
parent e47d357e56
commit f4e641950c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 2 deletions

View file

@ -279,7 +279,7 @@ If prefix ARG is set, prompt for a known project to search from."
"")))
(let ((default-directory
(if arg
(if-let* ((projects (projectile-relevant-known-projects)))
(if-let (projects (projectile-relevant-known-projects))
(completing-read "Switch to project: " projects
nil t nil nil (doom-project-root))
(user-error "There are no known projects"))

View file

@ -23,7 +23,7 @@
(use-package! winum
:when (featurep! +numbers)
:after-call (doom-switch-window-hook)
:after-call doom-switch-window-hook
:config
(winum-mode +1)
(map! :map evil-window-map