mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-21 06:55:35 +00:00
oc-bibtex: Use `org-cite-main-affixes'
* lisp/oc-bibtex.el (org-cite-bibtex-export-citation): Call `org-cite-main-affixes'.
This commit is contained in:
parent
498a76857b
commit
e0bbfe63a4
@ -62,11 +62,7 @@ state, as a property list."
|
||||
(pcase style
|
||||
(`(,(or "nocite" "n") . ,_) "nocite")
|
||||
(_ "cite"))
|
||||
(let ((suffix
|
||||
(org-element-property :suffix
|
||||
(pcase references
|
||||
(`(,ref) ref)
|
||||
(_ citation)))))
|
||||
(let ((suffix (cdr (org-cite-main-affixes citation))))
|
||||
(if suffix
|
||||
(format "[%s]" (org-trim (org-export-data suffix info)))
|
||||
""))
|
||||
|
Loading…
Reference in New Issue
Block a user