From 2a90787f330f62cb8ee376e154a3c7acdcd0b948 Mon Sep 17 00:00:00 2001 From: "Andre A. Gomes" Date: Tue, 6 Aug 2024 11:05:54 +0300 Subject: [PATCH] Fix references to exported symbols. --- source/dom.lisp | 2 +- source/mode/repl.lisp | 2 +- source/urls.lisp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/dom.lisp b/source/dom.lisp index 2826f805c27..b26b9daa993 100644 --- a/source/dom.lisp +++ b/source/dom.lisp @@ -325,7 +325,7 @@ Return two values: (defmethod url :around ((element plump:element)) (alex:when-let* ((result (call-next-method)) - (url (nyxt::ensure-url result))) + (url (ensure-url result))) (if (valid-url-p url) url (quri:merge-uris url (url (current-buffer)))))) diff --git a/source/mode/repl.lisp b/source/mode/repl.lisp index 07ba442decc..3cd861aa242 100644 --- a/source/mode/repl.lisp +++ b/source/mode/repl.lisp @@ -26,7 +26,7 @@ Features: :type string :documentation "The name of the cell type.") (id - (nyxt::new-id) + (new-id) :type alex:non-negative-integer :documentation "Unique evaluation identifier.") (mode-instance diff --git a/source/urls.lisp b/source/urls.lisp index 92172e4970e..574c684826b 100644 --- a/source/urls.lisp +++ b/source/urls.lisp @@ -349,13 +349,13 @@ ARGS is an arbitrary keyword arguments list that is translated to a URL query." (:callback (or function symbol)) (:title (maybe string))) (values quri:uri &optional)) -(defun lisp-url (&key (id (princ-to-string (nyxt:new-id))) +(defun lisp-url (&key (id (princ-to-string (new-id))) (buffer (alex:required-argument 'buffer)) (callback (alex:required-argument 'callback)) title) - (sera:synchronized ((nyxt::lisp-url-callbacks buffer)) + (sera:synchronized ((lisp-url-callbacks buffer)) (log:debug "Registering callback ~a in buffer ~a" id buffer) - (setf (gethash id (nyxt::lisp-url-callbacks buffer)) callback)) + (setf (gethash id (lisp-url-callbacks buffer)) callback)) (quri:make-uri :scheme "lisp" :path id :query `(("title" . ,title) ("buffer" . ,(id buffer)))))