diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-17 11:01:53 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-17 11:01:53 -0700 |
commit | dff3df5448a2a3445a75b00f34ee1573ef09180c (patch) | |
tree | a7a89d17010123d9c30621cadea9b2f91b4e7ae7 | |
parent | 4b77f6aded94043a513f4ebf7e7e7b4d13d87cc8 (diff) | |
download | dotfiles-dff3df5448a2a3445a75b00f34ee1573ef09180c.tar.gz |
spw/update-environment: handle unbound slime-buffer-connection
-rw-r--r-- | .emacs.d/init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5ac50534..a9609acd 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2216,7 +2216,7 @@ Called by '~/src/dotfiles/bin/emacsclient --spw/update-environment'." (dolist (buffer (buffer-list)) (with-current-buffer buffer (cond ((eq major-mode 'eshell-mode) (set-all)) - (slime-buffer-connection + ((bound-and-true-p slime-buffer-connection) (cl-pushnew slime-buffer-connection slime-connections))))) (dolist (connection slime-connections) (let ((slime-dispatching-connection connection)) |