Closed art-solopov closed 3 years ago
Might be related to this change https://github.com/bbatsov/helm-projectile/commit/c622e89f7a96c36ce8315f1b2a550d8d504b3273 To me it made sense to always show the projectile-helm
interface after switching projects.
I also would like to have the old behavior back. People who prefer the projectile-helm
interface can put
(defun switch-to-project-using-helm-projectile ()
(helm-projectile))
(setq projectile-switch-project-action #'switch-to-project-using-helm-projectile)
into their .emacs
.
I don't think you need this wrapper function. :-) I've stopped using Helm ages ago (these days I'm into ivy/selectrum), so I don't really think much about the changes that go into helm-projectile
. Feel free to revert this change.
I also prefer the old behavior.
Behavior reverted.
Thanks!
My Projectile-related config:
If I replace the last line with
(helm-projectile-off)
, the problem disappears.Expected behavior
After executing
helm-projectile-switch-project
, Emacs should open the project root in Dired.Actual behavior
After executing
helm-projectile-switch-project
, Emacs starts the "find file" action.Environment & version information
helm-projectile
version: 20201208.1837helm
version (inhelm-pkg.el
): 20201212.627projectile
version (M-x projectile-version
): 20201210.927M-x emacs-version
): 27.1