mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
completion/{helm,ivy}: fix stringp error
Cause by the expectation that doom-project-root would never return nil (which was changed to return nil if not in a valid project, due to an update upstream, in projectile).
This commit is contained in:
@@ -122,7 +122,7 @@ order.
|
||||
(declare (indent defun))
|
||||
(require 'helm-ag)
|
||||
(helm-ag--init-state)
|
||||
(let* ((project-root (doom-project-root))
|
||||
(let* ((project-root (or (doom-project-root) default-directory))
|
||||
(directory (or in project-root))
|
||||
(default-directory directory)
|
||||
(helm-ag--default-directory directory)
|
||||
|
Reference in New Issue
Block a user