emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org e6e8f0933a 1/3: org-cite-basic-export-citation: Fix


From: ELPA Syncer
Subject: [elpa] externals/org e6e8f0933a 1/3: org-cite-basic-export-citation: Fix suffix inside brackets (year suffix)
Date: Tue, 16 Jan 2024 09:58:21 -0500 (EST)

branch: externals/org
commit e6e8f0933a869feac814170f5ce8670a5db80929
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    org-cite-basic-export-citation: Fix suffix inside brackets (year suffix)
    
    * lisp/oc-basic.el (org-cite-basic-export-citation): Fix formatting
    citation reference with brackets.  When year is placed inside
    brackets, put the reference suffix outside.
---
 lisp/oc-basic.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/oc-basic.el b/lisp/oc-basic.el
index 97ea8eb34b..8eebde333a 100644
--- a/lisp/oc-basic.el
+++ b/lisp/oc-basic.el
@@ -700,8 +700,9 @@ export communication channel, as a property list."
             (org-cite-concat p
                              (if caps (org-cite-capitalize a) a)
                              (if bare " " " (")
-                             y s
-                             (and (not bare) ")")))
+                             y
+                             (and (not bare) ")")
+                             s))
           info)))
       ;; "numeric" style.
       ;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]