aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/org/oc-basic.el
diff options
context:
space:
mode:
authorKyle Meyer2022-06-26 23:00:38 -0400
committerKyle Meyer2022-06-26 23:00:38 -0400
commit48bda83d3591d33c5bb8292d9edb06ef3c3f93bd (patch)
tree8bc0d0cf05499fc5c237aa0cd0d40769689d4e7e /lisp/org/oc-basic.el
parentc66b90a534ed08762d57f8f78224dbd6dd6a1b68 (diff)
downloademacs-48bda83d3591d33c5bb8292d9edb06ef3c3f93bd.tar.gz
emacs-48bda83d3591d33c5bb8292d9edb06ef3c3f93bd.zip
Update to Org 9.5.4-3-g6dc785
Diffstat (limited to 'lisp/org/oc-basic.el')
-rw-r--r--lisp/org/oc-basic.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/org/oc-basic.el b/lisp/org/oc-basic.el
index 775690f1767..9ed1b810fab 100644
--- a/lisp/org/oc-basic.el
+++ b/lisp/org/oc-basic.el
@@ -189,7 +189,14 @@ Return a hash table with citation references as keys and fields alist as values.
189 (cons 'year 189 (cons 'year
190 (cond 190 (cond
191 ((consp date) 191 ((consp date)
192 (caar date)) 192 (let ((year (caar date)))
193 (cond
194 ((numberp year) (number-to-string year))
195 ((stringp year) year)
196 (t
197 (error
198 "First element of CSL-JSON date-parts should be a number or string, got %s: %S"
199 (type-of year) year)))))
193 ((stringp date) 200 ((stringp date)
194 (replace-regexp-in-string 201 (replace-regexp-in-string
195 (rx 202 (rx