mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(minor)chore: fix minor warnings by native compiler (#1959)
* Fix warnings reported by emacs (--with-native-compiler) * Drive-by fix for org-roam-database-connector's :group
This commit is contained in:
@ -48,7 +48,7 @@ tool, which is not recommended because it is not suitable to be
|
||||
used like this, but has the advantage that you likely don't need
|
||||
a compiler. See https://nullprogram.com/blog/2014/02/06/."
|
||||
:package-version '(org-roam . "2.2.0")
|
||||
:group 'forge
|
||||
:group 'org-roam
|
||||
:type '(choice (const sqlite)
|
||||
(const libsqlite3)
|
||||
(const sqlite3)
|
||||
@ -116,6 +116,10 @@ slow."
|
||||
(gethash (expand-file-name (file-name-as-directory org-roam-directory))
|
||||
org-roam-db--connection))
|
||||
|
||||
(declare-function emacsql-sqlite "ext:emacsql-sqlite")
|
||||
(declare-function emacsql-libsqlite3 "ext:emacsql-libsqlite3")
|
||||
(declare-function emacsql-sqlite3 "ext:emacsql-sqlite3")
|
||||
|
||||
(defun org-roam-db--conn-fn ()
|
||||
"Return the function for creating the database connection."
|
||||
(cl-case org-roam-database-connector
|
||||
|
Reference in New Issue
Block a user