Prevent private commands from affecting projectile cache
This causes projectile-project-root to act strangely, because my private project navigational commands were rewriting the projectile cache.
This commit is contained in:
parent
9ed322ded6
commit
e1f7d76bc5
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ private/hlissner/snippets."
|
|||
(interactive)
|
||||
(let ((default-directory ,dir)
|
||||
projectile-require-project-root
|
||||
projectile-cached-buffer-file-name)
|
||||
projectile-cached-buffer-file-name
|
||||
projectile-cached-project-root)
|
||||
(call-interactively (command-remapping #'projectile-find-file))))
|
||||
(defun ,(intern (format "+hlissner/browse-%s" name)) ()
|
||||
(interactive)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue