Skip to content

Small modernization and robustness cleanups#204

Merged
bbatsov merged 1 commit into
masterfrom
modernize-cleanups
Jul 1, 2026
Merged

Small modernization and robustness cleanups#204
bbatsov merged 1 commit into
masterfrom
modernize-cleanups

Conversation

@bbatsov

@bbatsov bbatsov commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Three small, independent cleanups shaken out of the review:

  • Remove known projects through Projectile's public projectile-remove-known-project instead of editing projectile-known-projects and calling projectile-save-known-projects directly. Keeps us correct if Projectile changes how it stores that list.

  • Switch the C-c p h keybinding setup from eval-after-load to the cleaner with-eval-after-load.

  • Promote helm-projectile-virtual-dired-remote-enable from a defvar to a boolean defcustom so it's editable via Customize.

  • The commits are consistent with our contribution guidelines

  • The new code is not generating bytecode or M-x checkdoc warnings

  • You've updated the changelog

  • You've updated the readme (no user-facing behavior change)

- Remove known projects through Projectile's public
  `projectile-remove-known-project' rather than editing
  `projectile-known-projects' and calling `projectile-save-known-projects'
  directly, so helm-projectile stays correct if Projectile changes how it
  stores that list.
- Switch the projectile keybinding setup from `eval-after-load' to the
  cleaner `with-eval-after-load', dropping the quoted `progn'.
- Promote `helm-projectile-virtual-dired-remote-enable' from a plain
  `defvar' to a boolean `defcustom'; it's a user-facing toggle the code
  even names in a message, so it belongs in Customize.
@bbatsov bbatsov merged commit 8d518e1 into master Jul 1, 2026
10 checks passed
@bbatsov bbatsov deleted the modernize-cleanups branch July 1, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant