diff options
| author | Aaron Madlon-Kay <aaron@madlon-kay.com> | 2025-05-21 21:52:22 +0900 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.dev> | 2025-05-21 16:19:40 +0300 |
| commit | 4edbed5a2d0c262a53f348f98a07d726bb3e5084 (patch) | |
| tree | 288e80e1f2f54d0160a1986a38a289d314a0527e | |
| parent | 4dd84b02c9cd7b04616dc2d01ba7bc87f0d15be8 (diff) | |
[Fix #1940] Set safe condition `projectile-indexing-method`
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | projectile.el | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 26c9a06..396a372 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Changes * Set `projectile-auto-discover` to `nil` by default. +* [#1943](https://github.com/bbatsov/projectile/pull/1943): Consider `projectile-indexing-method` to be safe as a dir-local variable if it is one of the preset values ## 2.9.1 (2025-02-13) diff --git a/projectile.el b/projectile.el index 40f3ddb..ea9e1d0 100644 --- a/projectile.el +++ b/projectile.el @@ -126,6 +126,7 @@ Projectile might also provide. The disadvantage of the hybrid and alien methods is that they are not well supported on Windows systems. That's why by default alien indexing is the default on all operating systems, except Windows." + :safe (lambda (x) (memq x '(native hybrid alien))) :group 'projectile :type '(radio (const :tag "Native" native) |
