emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] oc-csl: Add missing function declaration
@ 2022-08-09 12:56 András Simonyi
  2022-08-09 13:20 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: András Simonyi @ 2022-08-09 12:56 UTC (permalink / raw)
  To: emacs-orgmode list

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]

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

[-- Attachment #2: 0001-oc-csl-Add-missing-function-declaration.patch --]
[-- Type: text/x-patch, Size: 953 bytes --]

From e2573d8c858a280922f1dd13d2c49de9b74a9ec1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A1s=20Simonyi?= <andras.simonyi@gmail.com>
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 &optional info first-match no-recursion with-affiliated))
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] oc-csl: Add missing function declaration
  2022-08-09 12:56 [PATCH] oc-csl: Add missing function declaration András Simonyi
@ 2022-08-09 13:20 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-08-09 13:20 UTC (permalink / raw)
  To: András Simonyi; +Cc: emacs-orgmode list

András Simonyi <andras.simonyi@gmail.com> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-09 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 12:56 [PATCH] oc-csl: Add missing function declaration András Simonyi
2022-08-09 13:20 ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).