From: Kyle Meyer Date: Mon, 27 Jun 2022 03:00:38 +0000 (-0400) Subject: Update to Org 9.5.4-3-g6dc785 X-Git-Tag: emacs-28.1.90~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=48bda83d3591d33c5bb8292d9edb06ef3c3f93bd;p=emacs.git Update to Org 9.5.4-3-g6dc785 --- 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. (cons 'year (cond ((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) (replace-regexp-in-string (rx diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el index 6bdcb0afff5..2a500fe5106 100644 --- a/lisp/org/org-version.el +++ b/lisp/org/org-version.el @@ -11,7 +11,7 @@ Inserted by installing Org mode or when a release is made." (defun org-git-version () "The Git version of Org mode. 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)) (provide 'org-version)