mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-25 07:27:57 +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:
parent
48b237d9e2
commit
2b9f9646ef
@ -1633,7 +1633,7 @@ More specifically,
|
|||||||
(if (>= style-end (point))
|
(if (>= style-end (point))
|
||||||
;; On style part, edit the style.
|
;; On style part, edit the style.
|
||||||
(let ((style-start (+ 5 begin))
|
(let ((style-start (+ 5 begin))
|
||||||
(style (funcall select-style)))
|
(style (funcall select-style context)))
|
||||||
(unless style (user-error "Aborted"))
|
(unless style (user-error "Aborted"))
|
||||||
(org-with-point-at style-start
|
(org-with-point-at style-start
|
||||||
(delete-region style-start style-end)
|
(delete-region style-start style-end)
|
||||||
|
Loading…
Reference in New Issue
Block a user