[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 2b9f9646ef 1/4: org-cite: Fix style completion
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 2b9f9646ef 1/4: org-cite: Fix style completion |
Date: |
Tue, 25 Oct 2022 02:58:00 -0400 (EDT) |
branch: externals/org
commit 2b9f9646ef919534dcbf61174f31440f1cd1214c
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
org-cite: Fix style completion
* lisp/oc.el (org-cite-make-insert-processor): Provide the required
argument to SELECT-STYLE.
Reported-by: Kierin Bell <bellkierin@gmail.com>
Link: https://orgmode.org/list/875yg940z8.fsf@gmail.com
---
lisp/oc.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/oc.el b/lisp/oc.el
index 78fd7c3d22..43eb86224f 100644
--- a/lisp/oc.el
+++ b/lisp/oc.el
@@ -1633,7 +1633,7 @@ More specifically,
(if (>= style-end (point))
;; On style part, edit the style.
(let ((style-start (+ 5 begin))
- (style (funcall select-style)))
+ (style (funcall select-style context)))
(unless style (user-error "Aborted"))
(org-with-point-at style-start
(delete-region style-start style-end)