1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-22 07:09:47 +00:00

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
This commit is contained in:
Ihor Radchenko 2022-10-25 14:25:37 +08:00
parent 48b237d9e2
commit 2b9f9646ef
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -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)