diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-09-07 19:27:19 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-09-07 19:27:19 +0100 |
commit | fd95242ad0c0685597e97395985d3a42028531b3 (patch) | |
tree | afdb49a1610a05b7d9e31733bdb94675c80c907e /.emacs.d | |
parent | fbec4d1af0d236e024b89d5af5925fa97b6f7972 (diff) | |
download | dotfiles-fd95242ad0c0685597e97395985d3a42028531b3.tar.gz |
Prevent persp-mode from being restarted
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 79d291d..eda758e 100644 --- a/.emacs.d/lisp/init-project.el +++ b/.emacs.d/lisp/init-project.el @@ -61,7 +61,8 @@ ("C-x f" . project-recentf)) (use-package perspective - :init (persp-mode) + ;; Don't restart persp-mode when re-evaluating, as it clears the current persp list + :init (or persp-mode (persp-mode)) :config (defun switch-project (proj) "Switch to project or already open project perspective." |