Fix compilation errors

This commit is contained in:
Tom Willemse 2013-10-06 13:47:31 +02:00
parent b7d4fe7c21
commit 31f1be23f2
4 changed files with 7 additions and 6 deletions

View file

@ -30,6 +30,6 @@
:serial t :serial t
:depends-on (:sqlite) :depends-on (:sqlite)
:components ((:file "package") :components ((:file "package")
(:file "queries")
(:file "clark") (:file "clark")
(:file "commands") (:file "commands")))
(:file "queries")))

View file

@ -19,10 +19,6 @@
(in-package :org.ryuslash.clark) (in-package :org.ryuslash.clark)
(defmacro sql (&body body)
(apply 'concatenate 'string
(mapcar (lambda (itm) (format nil "~A " itm)) body)))
(defvar *db* nil (defvar *db* nil
"The database connection.") "The database connection.")

View file

@ -22,6 +22,7 @@
(require 'asdf) (require 'asdf)
(load "clark.asd")
(asdf:oos 'asdf:load-op 'clark) (asdf:oos 'asdf:load-op 'clark)
(save-lisp-and-die (save-lisp-and-die

View file

@ -19,6 +19,10 @@
(in-package :org.ryuslash.clark) (in-package :org.ryuslash.clark)
(defmacro sql (&body body)
(apply 'concatenate 'string
(mapcar (lambda (itm) (format nil "~A " itm)) body)))
(defun bookmark-exists-p (url) (defun bookmark-exists-p (url)
"Check if URL can be found in the database." "Check if URL can be found in the database."
(execute-single (execute-single