Skip to content

Commit 5d5e4f1

Browse files
ethanxxxlvindarel
authored andcommitted
removed code that conflicts with qlot asdf environment
1 parent 72a95d1 commit 5d5e4f1

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

extensions/lisp-mode/lisp-mode.lisp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,6 @@
236236
(connect-to-micros *localhost* port)
237237
(update-buffer-package)
238238

239-
;; XXX:
240-
;; Systems added after lem initialization are not visible from within this process and must
241-
;; be re-initialized.
242-
(asdf:clear-source-registry)
243-
244239
(setf *self-connected-port* port))))
245240

246241
(defun self-connection ()

src/lem.lisp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,12 @@
4747
(unless (uiop:pathname-equal current-dir (user-homedir-pathname))
4848
(maybe-load (merge-pathnames ".lemrc" current-dir))))))
4949

50-
(defun initialize-source-registry ()
51-
(asdf:initialize-source-registry
52-
`(:source-registry
53-
:inherit-configuration
54-
(:also-exclude ".qlot")
55-
(:tree ,(asdf:system-source-directory :lem)))))
56-
5750
(defun init-at-build-time ()
5851
"This function is called when an lem executable file is built.
5952
If a file named $HOME/.lem/build-init.lisp exists, it is loaded.
6053
The difference is that init.lisp loading is called when the editor is started,
6154
while build-init.lisp is called when the binary file is created.
6255
See scripts/build-ncurses.lisp or scripts/build-sdl2.lisp"
63-
(initialize-source-registry)
6456
(let ((file (merge-pathnames "build-init.lisp" (lem-home))))
6557
(when (uiop:file-exists-p file)
6658
(load file))))

0 commit comments

Comments
 (0)