From 2b5e99f4e11e1d7a34843a4ff6084c176805cb13 Mon Sep 17 00:00:00 2001 From: Levi Date: Fri, 20 Sep 2024 09:31:04 +0200 Subject: [PATCH] bugfixes --- emacs/module/module-perspective.el | 6 +----- emacs/module/module-work-projects.el | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/emacs/module/module-perspective.el b/emacs/module/module-perspective.el index 25e4b49..336661a 100644 --- a/emacs/module/module-perspective.el +++ b/emacs/module/module-perspective.el @@ -45,11 +45,7 @@ (autoload 'projectile-project-root "projectile") (setq consult-project-root-function #'projectile-project-root) -;; Call this function when Emacs starts -(add-hook 'after-init-hook #'auto-create-work-project-perspectives) - - - +(persp-switch "main") (provide 'module-perspective) ;;; module-projectile.el ends here. diff --git a/emacs/module/module-work-projects.el b/emacs/module/module-work-projects.el index a4d5fa8..0ffa205 100644 --- a/emacs/module/module-work-projects.el +++ b/emacs/module/module-work-projects.el @@ -14,6 +14,5 @@ (when (file-directory-p projects-dir) (create-perspectives-for-projects projects-dir)))) - (provide 'module-work-projects) ;;; module-work-projects.el ends here.