From 4ee6df6f50042a8fedfbb99354047e1d3fd2d3ba Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 18 Jun 2021 20:56:34 -0700 Subject: guard update of project-switch-commands on loading project.el --- .emacs.d/init-spw.el | 10 +++++----- 1 file 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 -- cgit v1.2.3