summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-05-19 09:38:59 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-05-19 17:28:39 -0700
commit4a7a32e7d980e2afac1df5707afd231962f916ff (patch)
tree6c46cfd76d512cd3acd5719d1029c8eb21b1c74c /.emacs.d
parentd29038f89ab0cfb01febd2304d38d71307c0fa7a (diff)
downloaddotfiles-4a7a32e7d980e2afac1df5707afd231962f916ff.tar.gz
spw/go-to-consfig: handle case of SLIME not connected
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 6de98213..999f1ea6 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -2236,7 +2236,7 @@ by that script, which see."
slime-last-compilation-result)
(slime-change-directory (expand-file-name "~/"))
(slime-repl-set-package "COM.SILENTFLAME.CONSFIG"))))))
- (if (and (fboundp 'slime-output-buffer) (slime-output-buffer))
+ (if (ignore-errors (slime-output-buffer))
(progn (slime-switch-to-output-buffer)
(setq-local default-directory (expand-file-name "~/"))
(load))