From 859b4a222f707cf74a6b637b8a44e6daacb47f55 Mon Sep 17 00:00:00 2001 From: bth Date: Wed, 5 Mar 2025 10:40:58 -0800 Subject: [PATCH] move project-switch-project override into init.el : not about um --- elisp/um.el | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/elisp/um.el b/elisp/um.el index 76bf780..70e8c8d 100644 --- a/elisp/um.el +++ b/elisp/um.el @@ -159,25 +159,6 @@ Since journal/ is the origin and other projects shadow it. (funcall origfunc)) )) -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; C-x p p - -;;;###autoload -(defun um-project-find-meta () - (interactive) - ;; this works because `project-switch-project' overrides the dir: - (find-file (expand-file-name "*meta.md" (caddr (project-current))) t) - ) - -;; overwrite -(setq project-switch-commands - '( - (um-project-find-meta "open meta" "m") - (project-dired "dired") - (project-find-file "find file") - (project-find-regexp "find regexp") - )) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; tags