Skip to content

Commit

Permalink
fix for #870
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed Jul 23, 2023
1 parent 9bf24e3 commit d93fc61
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modes/lisp-mode/lisp-mode.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
(make-completion-spec 'completion-symbol-async :async t))
(setf (variable-value 'idle-function) 'lisp-idle-function)
(setf (variable-value 'root-uri-patterns) '(".asd"))
(setf (variable-value 'detective-search)
(setf (variable-value 'detective-search)
(make-instance 'lem/detective:search-regex
:function-regex
(lem/detective:make-capture-regex
Expand Down Expand Up @@ -204,6 +204,12 @@
(micros:create-server :port port :style :spawn))
(connect-to-swank *localhost* port)
(update-buffer-package)

;; XXX:
;; Systems added after lem initialization are not visible from within this process and must
;; be re-initialized.
(asdf:clear-source-registry)

(setf *self-connected-port* port))))

(defun self-connection-p (connection)
Expand Down

0 comments on commit d93fc61

Please sign in to comment.