Next: Make search-engine objects.

master
Pierre Neidhardt 2020-05-13 11:02:10 +02:00
parent 1b136f6021
commit 57e30f7982
1 changed files with 3 additions and 3 deletions

View File

@ -131,9 +131,9 @@ Recognized formats:
(loop for object = (read stream nil :eof)
until (eq object :eof)
when (eq (car object) 'defengine)
collect (list ;; (nth 1 object) ; No need for name?
(getf (nthcdr 3 object) :keybinding)
(format-c->lisp (nth 2 object)))))
collect (make-instance 'search-engine
:shortcut (getf (nthcdr 3 object) :keybinding)
:search-url (format-c->lisp (nth 2 object)))))
(defmethod deserialize-eww-bookmarks (stream)
"This version of deserialize-bookmarks is compatibly with Ambrevar's EWW