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.