Skip to content

Commit

Permalink
Fix #470: Unbreak odd non-SLY uses of slynk/indentation system
Browse files Browse the repository at this point in the history
Let SLYNK::SEND-TO-INDENTATION-CACHE be called without Emacs connection

* slynk/slynk.lisp (send-to-indentation-cache): Don't fail if no Emacs connection.
  • Loading branch information
aadcg authored and Tianyu Gu committed Nov 23, 2023
1 parent c03a947 commit cf7b37b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion slynk/slynk.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -3966,7 +3966,8 @@ after each command.")
(handle-indentation-cache-request c request))
(multithreaded-connection
(without-sly-interrupts
(send (mconn.indentation-cache-thread c) request))))))
(send (mconn.indentation-cache-thread c) request)))
(null t))))

(defun indentation-cache-loop (connection)
(with-connection (connection)
Expand Down

0 comments on commit cf7b37b

Please sign in to comment.