Update sqlite, taglib, and wand for new 'magic:*' defuns.
authorSteve Youngs <steve@sxemacs.org>
Mon, 24 Feb 2020 20:50:08 +0000 (06:50 +1000)
committerSteve Youngs <steve@sxemacs.org>
Mon, 24 Feb 2020 20:50:08 +0000 (06:50 +1000)
commit10019727dbf4ba9f38ff9013a2dfa943b1bf570c
treeed3eb28b1f48acb6c4c42f27d18d526cd7f198d8
parent4d040ed7a6b36a92f615e7422100b4a960620b40
Update sqlite, taglib, and wand for new 'magic:*' defuns.

This updates a few things to use the new and improved ffi-magic.

* lisp/ffi/ffi-sqlite.el (sqlite-file-p): Use #'magic:file to get
the job done.

* lisp/ffi/ffi-wand.el (Wand-file-supported-for-read-p):
Use #'magic:file-image-p to test file type.

* lisp/ffi/ffi-taglib.el (taglib:mimetypes): New, replaces
`taglib:extensions'
(taglib:extensions): Removed.
(taglib:get-tag): Use #'magic:file to test for supported file
formats.
(taglib:list-all-tags): Ditto.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
lisp/ffi/ffi-sqlite.el
lisp/ffi/ffi-taglib.el
lisp/ffi/ffi-wand.el