emacs: include the project-any-command in the project-switch-commands

I am not using this directly, but it is good to have here so that I
can share it with others.
This commit is contained in:
Protesilaos 2026-08-02 08:33:40 +03:00
parent 3cadbe03c8
commit 674a110740
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 4 additions and 2 deletions

View file

@ -8,11 +8,12 @@
(setopt project-switch-commands
'((project-find-file "Find file")
(project-find-regexp "Find regexp")
(project-find-dir "Find directory")
(project-find-regexp "Find regexp")
(project-dired "Root dired")
(project-vc-dir "VC-Dir")
(project-shell "Shell")
(project-any-command "Other command")
(keyboard-quit "Quit")))
(setq project-vc-extra-root-markers '(".project")) ; Emacs 29
(setq project-key-prompt-style t) ; Emacs 30

View file

@ -7139,11 +7139,12 @@ functionality I rely on, so do take a look at what it has to offer.
(setopt project-switch-commands
'((project-find-file "Find file")
(project-find-regexp "Find regexp")
(project-find-dir "Find directory")
(project-find-regexp "Find regexp")
(project-dired "Root dired")
(project-vc-dir "VC-Dir")
(project-shell "Shell")
(project-any-command "Other command")
(keyboard-quit "Quit")))
(setq project-vc-extra-root-markers '(".project")) ; Emacs 29
(setq project-key-prompt-style t) ; Emacs 30