Re: [PATCH] oc-csl: Add missing function declaration

2022-08-09 Thread Ihor Radchenko
András Simonyi  writes:

> I've just noticed that there was a missing citeproc function
> declaration in oc-csl.el which could cause a compiler warning. The
> attached patch adds the required declaration.

Applied onto main via be7f61171.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=be7f61171f3bfc2f892a4f7fcaa70f73f93d5b23


-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92



[PATCH] oc-csl: Add missing function declaration

2022-08-09 Thread András Simonyi
Dear All,

I've just noticed that there was a missing citeproc function
declaration in oc-csl.el which could cause a compiler warning. The
attached patch adds the required declaration.

best wishes,
András
From e2573d8c858a280922f1dd13d2c49de9b74a9ec1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A1s=20Simonyi?= 
Date: Tue, 9 Aug 2022 14:47:10 +0200
Subject: [PATCH] oc-csl: Add missing function declaration

* lisp/oc-csl.el (citeproc-add-subbib-filters): Declare function.
---
 lisp/oc-csl.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/oc-csl.el b/lisp/oc-csl.el
index c8e61a599..8f88999ef 100644
--- a/lisp/oc-csl.el
+++ b/lisp/oc-csl.el
@@ -128,6 +128,7 @@
 (declare-function citeproc-render-citations "ext:citeproc")
 (declare-function citeproc-render-bib "ext:citeproc")
 (declare-function citeproc-hash-itemgetter-from-any "ext:citeproc")
+(declare-function citeproc-add-subbib-filters "ext:citeproc")
 
 (declare-function org-element-interpret-data "org-element" (data))
 (declare-function org-element-map "org-element" (data types fun  info first-match no-recursion with-affiliated))
-- 
2.25.1