From c4932e0738e4133ab80d279311dfbd2b362e6c02 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 23 Nov 2023 08:19:40 +0000 Subject: [PATCH] Change project switch command to browse root dir without prompt --- home/emacs/init.el | 7 +------ home/emacs/init.org | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/home/emacs/init.el b/home/emacs/init.el index de0f6133..e1aa0919 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -435,12 +435,7 @@ (eglot-autoreconnect nil)) (setq project-switch-use-entire-map t - project-switch-commands - '((project-dired "Browse directory") - (project-find-file "Find file") - (project-find-regexp "Find regexp") - (project-find-dir "Find directory") - (project-eshell "Eshell"))) + project-switch-commands 'project-dired) (use-package magit :ensure t diff --git a/home/emacs/init.org b/home/emacs/init.org index b0f1500e..b69c0e06 100644 --- a/home/emacs/init.org +++ b/home/emacs/init.org @@ -520,12 +520,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]] ** Project #+BEGIN_SRC emacs-lisp (setq project-switch-use-entire-map t - project-switch-commands - '((project-dired "Browse directory") - (project-find-file "Find file") - (project-find-regexp "Find regexp") - (project-find-dir "Find directory") - (project-eshell "Eshell"))) + project-switch-commands 'project-dired) #+END_SRC ** Version control *** Magit