Update to Org 9.5.4-3-g6dc785
This commit is contained in:
parent
c66b90a534
commit
48bda83d35
2 changed files with 9 additions and 2 deletions
|
@ -189,7 +189,14 @@ Return a hash table with citation references as keys and fields alist as values.
|
||||||
(cons 'year
|
(cons 'year
|
||||||
(cond
|
(cond
|
||||||
((consp date)
|
((consp date)
|
||||||
(caar date))
|
(let ((year (caar date)))
|
||||||
|
(cond
|
||||||
|
((numberp year) (number-to-string year))
|
||||||
|
((stringp year) year)
|
||||||
|
(t
|
||||||
|
(error
|
||||||
|
"First element of CSL-JSON date-parts should be a number or string, got %s: %S"
|
||||||
|
(type-of year) year)))))
|
||||||
((stringp date)
|
((stringp date)
|
||||||
(replace-regexp-in-string
|
(replace-regexp-in-string
|
||||||
(rx
|
(rx
|
||||||
|
|
|
@ -11,7 +11,7 @@ Inserted by installing Org mode or when a release is made."
|
||||||
(defun org-git-version ()
|
(defun org-git-version ()
|
||||||
"The Git version of Org mode.
|
"The Git version of Org mode.
|
||||||
Inserted by installing Org or when a release is made."
|
Inserted by installing Org or when a release is made."
|
||||||
(let ((org-git-version "release_9.5.4"))
|
(let ((org-git-version "release_9.5.4-3-g6dc785"))
|
||||||
org-git-version))
|
org-git-version))
|
||||||
|
|
||||||
(provide 'org-version)
|
(provide 'org-version)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue