Browse Source

assoc -> assq

* lisp/ob-sqlite.el (org-babel-execute:sqlite): Change `assoc' to `assq'.
Aaron Ecay 3 years ago
parent
commit
c997bf7ff1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-sqlite.el

+ 1 - 1
lisp/ob-sqlite.el

@@ -66,7 +66,7 @@ This function is called by `org-babel-execute-src-block'."
 	(nullvalue (cdr (assoc :nullvalue params)))
 	(headers-p (equal "yes" (cdr (assoc :colnames params))))
 	(others (delq nil (mapcar
-			   (lambda (arg) (car (assoc arg params)))
+			   (lambda (arg) (car (assq arg params)))
 			   (list :header :echo :bail :column
 				 :csv :html :line :list)))))
     (unless db (error "ob-sqlite: can't evaluate without a database"))