diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-09-03 07:36:20 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-09-03 07:36:20 +0100 |
commit | 95a541923b74f42d8173e41ee09abc5a6a42c4ff (patch) | |
tree | 3226bbbca079bce900e381d5659b28e453808dcb /.emacs.d | |
parent | ec0a75ec27d4c93971222c331cd05caa9a6d29b3 (diff) | |
download | dotfiles-95a541923b74f42d8173e41ee09abc5a6a42c4ff.tar.gz |
Ensure perspective is enabled at startup
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/lisp/init-project.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-project.el b/.emacs.d/lisp/init-project.el index 63aec7d..e74adf7 100644 --- a/.emacs.d/lisp/init-project.el +++ b/.emacs.d/lisp/init-project.el @@ -41,7 +41,8 @@ ("C-x f" . project-recentf)) (use-package perspective - :config (persp-mode) + :init (persp-mode) + :config (defun switch-project (proj) "Switch to project or already open project perspective." (interactive (list (project-prompt-project-dir))) |