emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "András Simonyi" <andras.simonyi@gmail.com>
To: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: [PATCH] oc-csl: Add missing function declaration
Date: Tue, 9 Aug 2022 14:56:49 +0200	[thread overview]
Message-ID: <CAOWRwxAgx6tzUn+-3189fo-31ymKB5j_3PKY691pRrAAN0dCrw@mail.gmail.com> (raw)

[-- 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


             reply	other threads:[~2022-08-09 12:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 12:56 András Simonyi [this message]
2022-08-09 13:20 ` [PATCH] oc-csl: Add missing function declaration Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOWRwxAgx6tzUn+-3189fo-31ymKB5j_3PKY691pRrAAN0dCrw@mail.gmail.com \
    --to=andras.simonyi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).