Function: org-cite-csl--locale-getter
org-cite-csl--locale-getter is a byte-compiled function defined in
oc-csl.el.gz.
Signature
(org-cite-csl--locale-getter)
Documentation
Return a locale getter.
The getter looks for locales in org-cite-csl-locales-dir directory. If it
cannot find them, it retrieves the default "en_US" from
org-cite-csl--fallback-locales-dir.
Source Code
;; Defined in /usr/src/emacs/lisp/org/oc-csl.el.gz
(defun org-cite-csl--locale-getter ()
"Return a locale getter.
The getter looks for locales in `org-cite-csl-locales-dir' directory. If it
cannot find them, it retrieves the default \"en_US\" from
`org-cite-csl--fallback-locales-dir'."
(lambda (loc)
(or (and org-cite-csl-locales-dir
(ignore-errors
(funcall (citeproc-locale-getter-from-dir org-cite-csl-locales-dir)
loc)))
(funcall (citeproc-locale-getter-from-dir
org-cite-csl--fallback-locales-dir)
loc))))