summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-06-18 20:56:34 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-06-18 20:56:34 -0700
commit4ee6df6f50042a8fedfbb99354047e1d3fd2d3ba (patch)
treeac925111be2a13ae2a731dc45fc207ac441c5354
parentfc25eaa44c74e03eda7158466272011295c47404 (diff)
downloaddotfiles-4ee6df6f50042a8fedfbb99354047e1d3fd2d3ba.tar.gz
guard update of project-switch-commands on loading project.el
-rw-r--r--.emacs.d/init-spw.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el
index 13cadc00..42576971 100644
--- a/.emacs.d/init-spw.el
+++ b/.emacs.d/init-spw.el
@@ -704,11 +704,11 @@ I use by default)."
nil
;; bind into project-prefix-map, rather than just a remap, so that works
;; under C-x 4 p too
- project-prefix-map))
-;; update project-switch-commands accordingly
-(when (assoc 'project-eshell project-switch-commands)
- (setcar (assoc 'project-eshell project-switch-commands)
- #'spw/project-eshell-with-transient-cycling))
+ project-prefix-map)
+ ;; update project-switch-commands accordingly
+ (when (assoc 'project-eshell project-switch-commands)
+ (setcar (assoc 'project-eshell project-switch-commands)
+ #'spw/project-eshell-with-transient-cycling)))
(spw/bind-command-with-cycling
[remap info]
(spw/buffer-ring-cycle-lambda