File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
### Bugs fixed
8
8
9
+ * [ #1450 ] ( https://github.com/clojure-emacs/cider/pull/1450 ) : Fix an error in ` cider-restart ` caused by a reference to a killed buffer.
9
10
* [ #1459 ] ( https://github.com/clojure-emacs/cider/issues/1459 ) : Add support for dynamic dispatch in scratch buffers.
10
11
* [ #1466 ] ( https://github.com/clojure-emacs/cider/issues/1466 ) : Correctly font-lock pretty-printed results in the REPL.
11
12
* [ #1475 ] ( https://github.com/clojure-emacs/cider/pull/1475 ) : Fix ` args-out-of-range ` error in ` cider--get-symbol-indent ` .
Original file line number Diff line number Diff line change @@ -1553,12 +1553,13 @@ and all ancillary CIDER buffers."
1553
1553
1554
1554
(defun cider--restart-connection (conn )
1555
1555
" Restart the connection CONN."
1556
- (let ((project-dir (with-current-buffer conn nrepl-project-dir)))
1556
+ (let ((project-dir (with-current-buffer conn nrepl-project-dir))
1557
+ (buf-name (buffer-name conn)))
1557
1558
(cider--quit-connection conn)
1558
1559
; ; Workaround for a nasty race condition https://github.com/clojure-emacs/cider/issues/439
1559
1560
; ; TODO: Find a better way to ensure `cider-quit' has finished
1560
1561
(message " Waiting for CIDER connection %s to quit... "
1561
- (cider-propertize-bold ( buffer -name conn) ))
1562
+ (cider-propertize-bold buf -name))
1562
1563
(sleep-for 2 )
1563
1564
(if project-dir
1564
1565
(let ((default-directory project-dir))
You can’t perform that action at this time.
0 commit comments