bugfixes, removed auto load crap
This commit is contained in:
parent
8495ffe10d
commit
d00aa34d77
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue