aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-02-14 20:00:25 +0100
committerTeddy Wing2021-02-14 20:00:25 +0100
commit19f8f337b041caa4ea13293555e8d1ff0e143458 (patch)
treec2e5088a0c81edfe565e3ebe8145a51ff8a28298
parent31b4b1cc29d184494200231d2904f4cd5672ff76 (diff)
downloadextreload-19f8f337b041caa4ea13293555e8d1ff0e143458.tar.bz2
config: Remove `(setf socket-url)` method
Don't need this now that we have a `make-config` constructor.
-rw-r--r--l/src/config.lisp10
1 files changed, 0 insertions, 10 deletions
diff --git a/l/src/config.lisp b/l/src/config.lisp
index 4e3cbbf..f826537 100644
--- a/l/src/config.lisp
+++ b/l/src/config.lisp
@@ -26,16 +26,6 @@
":socket-url ~s :extension-ids ~s :reload-current-tab ~s :ws-client ~s"
socket-url extension-ids reload-current-tab ws-client))))
-;; TODO: (make-config) instead, initialise ws-client in initialiser
-(defgeneric (setf socket-url) (url config))
-
-(defmethod (setf socket-url) (url (config config))
- "Set `socket-url` and initialise a new `websocket-driver:client` in the
-`ws-client` slot"
- (setf (slot-value config 'socket-url) url)
-
- (setf (slot-value config 'ws-client) (wsd:make-client url)))
-
(defun make-config (&key socket-url extension-ids reload-current-tab)
(let ((config (make-instance 'config
:socket-url socket-url