Skip to content

Commit 41bc1c1

Browse files
committed
Merge branch 'helm-projectile-1.3' into dev
* helm-projectile-1.3: doc: Update changelog and bump version for a bug fix release 1.3.2 fix: Honour projectile-switch-project-action when switching project doc: Record 1.3.1 release in Changelog
2 parents e8cdb71 + 53acfb6 commit 41bc1c1

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@
2121
* Make `helm-projectile-ag` to use common ignore list.
2222
* Don't add ** to ignored globs in helm-projectile-rg.
2323

24+
## 1.3.2 (2025-08-14)
25+
26+
### Fixes
27+
28+
* [#196](https://github.com/bbatsov/helm-projectile/issues/196): Opening project no longer respects `projectile-switch-project-action`.
29+
30+
## 1.3.1 (2025-08-07)
31+
32+
Snap release - bump version only.
33+
2434
## 1.3.0 (2025-08-07)
2535

2636
### New features

helm-projectile.el

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
;; Maintainer: Przemysław Kryger
88
;; Created: 2011-31-07
99
;; Keywords: project, convenience
10-
;; Version: 1.3.1
10+
;; Version: 1.3.2
1111
;; Package-Requires: ((emacs "26.1") (helm "3.0") (projectile "2.9"))
1212

1313
;; This file is NOT part of GNU Emacs.
@@ -224,9 +224,14 @@ It is there because Helm requires it."
224224
(message "%s projects(s) removed" len)))))
225225

226226
(defun helm-projectile-switch-project-by-name (project)
227-
"Switch to PROJECT and find file in it."
227+
"Switch to PROJECT and execute `projectile-switch-project-action' in it.
228+
When `projectile-switch-project-action' is `projectile-find-file' a
229+
`helm-projectile-find-file' will be used instead."
228230
(let ((projectile-completion-system 'helm)
229-
(projectile-switch-project-action #'helm-projectile-find-file))
231+
(projectile-switch-project-action
232+
(if (eq projectile-switch-project-action 'projectile-find-file)
233+
#'helm-projectile-find-file
234+
projectile-switch-project-action)))
230235
(projectile-switch-project-by-name project)))
231236

232237
(defun helm-projectile-switch-project-by-name-other-window (project)

0 commit comments

Comments
 (0)