about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-09-03 07:36:20 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-09-03 07:36:20 +0100
commit95a541923b74f42d8173e41ee09abc5a6a42c4ff (patch)
tree3226bbbca079bce900e381d5659b28e453808dcb
parentec0a75ec27d4c93971222c331cd05caa9a6d29b3 (diff)
downloaddotfiles-95a541923b74f42d8173e41ee09abc5a6a42c4ff.tar.gz
Ensure perspective is enabled at startup
-rw-r--r--.emacs.d/lisp/init-project.el3
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)))