From 3c4389cb05347f07c003513bafa7cf5470ba24ca Mon Sep 17 00:00:00 2001
From: Daanturo <daanturo@gmail.com>
Date: Sun, 9 Mar 2025 15:37:12 +0000
Subject: [PATCH] Defcustom org-cite-insert-single

---
 lisp/oc.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lisp/oc.el b/lisp/oc.el
index de7ea1fe2..3a8a09911 100644
--- a/lisp/oc.el
+++ b/lisp/oc.el
@@ -1610,6 +1610,9 @@ Citation keys are strings without the leading \"@\"."
                    (org-element-create 'citation-reference (list :key k)))
                  keys)))
 
+(defcustom org-cite-insert-single nil
+  "Whether `org-cite-insert' asks for one or multiple citations.")
+
 (defun org-cite-make-insert-processor (select-key select-style)
   "Build a function appropriate as an insert processor.
 
@@ -1701,7 +1704,7 @@ More specifically,
              (delete-region start end)
              (insert key))))))
       (_
-       (let ((keys (funcall select-key t)))
+       (let ((keys (funcall select-key (not org-cite-insert-single))))
          (unless keys (user-error "Aborted"))
          (insert
           (format "[cite%s:%s]"
-- 
2.48.1

