bugfixes, removed auto load crap

This commit is contained in:
Levi 2024-09-20 09:18:18 +02:00
parent 8495ffe10d
commit d00aa34d77
2 changed files with 1 additions and 15 deletions

View File

@ -45,19 +45,6 @@
(autoload 'projectile-project-root "projectile")
(setq consult-project-root-function #'projectile-project-root)
;; load and save perspectives on load and exit
(add-hook 'kill-emacs-hook 'my-persp-save)
(add-hook 'after-init-hook 'my-persp-load)
;; setup emacs perspective
(persp-switch "emacs")
(dired "~/.config/emacs")
(persp-add-buffer current-buffer)
;; go back to main perspective
(persp-switch "main")
;; Call this function when Emacs starts
(add-hook 'after-init-hook #'auto-create-work-project-perspectives)

View File

@ -14,7 +14,6 @@
(when (file-directory-p projects-dir)
(create-perspectives-for-projects projects-dir))))
;; Call this function when Emacs starts
(add-hook 'after-init-hook #'auto-create-work-project-perspectives)
(provide 'module-work-projects)
;;; module-work-projects.el ends here.