Require project root in dashboard buffer #733
Require default-directory to be in a valid project for project commands to work. This will prevent hangs when accidentally invoking projectile-find-file from $HOME.
This commit is contained in:
parent
55104b9f89
commit
2dac739ce7
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ Possible values:
|
|||
buffer-read-only t)
|
||||
(setq-local whitespace-style nil)
|
||||
(setq-local show-trailing-whitespace nil)
|
||||
(setq-local projectile-require-project-root t)
|
||||
(cl-loop for (car . _cdr) in fringe-indicator-alist
|
||||
collect (cons car nil) into alist
|
||||
finally do (setq fringe-indicator-alist alist))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue