(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:
Philippe Crama
2021-11-11 13:00:07 +01:00
committed by GitHub
parent 721f167563
commit b96efbb444
6 changed files with 23 additions and 9 deletions

View File

@ -292,6 +292,8 @@ E.g. (\".org\") => (\"*.org\" \"*.org.gpg\")"
,@(mapcar (lambda (glob) (concat "-g " glob)) globs)) " ")))
(org-roam--shell-command-files command)))
(declare-function org-roam--directory-files-recursively "org-roam-compat")
(defun org-roam--list-files-elisp (dir)
"Return all Org-roam files under DIR, using Elisp based implementation."
(let ((regex (concat "\\.\\(?:"(mapconcat