Merge branch 'bugfix'
This commit is contained in:
commit
f14ed5791f
|
@ -1025,10 +1025,6 @@ the CONTAINER as well."
|
|||
(remove container (plist-get collection :container)))
|
||||
(org-persist--add-to-index collection))))))
|
||||
|
||||
(defvar org-persist--write-cache (make-hash-table :test #'equal)
|
||||
"Hash table storing as-written data objects.
|
||||
|
||||
This data is used to avoid reading the data multiple times.")
|
||||
(cl-defun org-persist-read (container &optional associated hash-must-match load &key read-related)
|
||||
"Restore CONTAINER data for ASSOCIATED.
|
||||
When HASH-MUST-MATCH is non-nil, do not restore data if hash for
|
||||
|
@ -1076,8 +1072,7 @@ CONTAINER as well. For example:
|
|||
(unless (seq-find (lambda (v)
|
||||
(run-hook-with-args-until-success 'org-persist-before-read-hook v associated))
|
||||
(plist-get collection :container))
|
||||
(setq data (or (gethash persist-file org-persist--write-cache)
|
||||
(org-persist--read-elisp-file persist-file)))
|
||||
(setq data (org-persist--read-elisp-file persist-file))
|
||||
(when data
|
||||
(cl-loop for c in (plist-get collection :container)
|
||||
with result = nil
|
||||
|
@ -1148,7 +1143,6 @@ When IGNORE-RETURN is non-nil, just return t on success without calling
|
|||
(let ((file (org-file-name-concat org-persist-directory (plist-get collection :persist-file)))
|
||||
(data (mapcar (lambda (c) (cons c (org-persist-write:generic c collection)))
|
||||
(plist-get collection :container))))
|
||||
(puthash file data org-persist--write-cache)
|
||||
(org-persist--write-elisp-file file data)
|
||||
(or ignore-return (org-persist-read container associated)))))))
|
||||
|
||||
|
|
|
@ -6188,6 +6188,7 @@ them."
|
|||
("tr" :default "Devamı sonraki sayfada"))
|
||||
("Created"
|
||||
("cs" :default "Vytvořeno")
|
||||
("de" :default "Erstellt am")
|
||||
("et" :default "Loodud")
|
||||
("fa" :default "ساخته شده")
|
||||
("nl" :default "Gemaakt op") ;; must be followed by a date or date+time
|
||||
|
@ -6443,6 +6444,7 @@ them."
|
|||
("See figure %s"
|
||||
("cs" :default "Viz obrázek %s")
|
||||
("et" :default "Vaata joonist %s")
|
||||
("de" :default "Siehe Abbildung %s")
|
||||
("fa" :default "نمایش شکل %s")
|
||||
("fr" :default "cf. figure %s"
|
||||
:html "cf. figure %s" :latex "cf.~figure~%s")
|
||||
|
@ -6459,6 +6461,7 @@ them."
|
|||
("See listing %s"
|
||||
("cs" :default "Viz program %s")
|
||||
("et" :default "Vaata loendit %s")
|
||||
("de" :default "Siehe Programmlisting %s")
|
||||
("fa" :default "نمایش برنامهریزی %s")
|
||||
("fr" :default "cf. programme %s"
|
||||
:html "cf. programme %s" :latex "cf.~programme~%s")
|
||||
|
@ -6475,7 +6478,7 @@ them."
|
|||
("ar" :default "انظر قسم %s")
|
||||
("cs" :default "Viz sekce %s")
|
||||
("da" :default "jævnfør afsnit %s")
|
||||
("de" :default "siehe Abschnitt %s")
|
||||
("de" :default "Siehe Abschnitt %s")
|
||||
("es" :ascii "Vea seccion %s" :html "Vea sección %s" :default "Vea sección %s")
|
||||
("et" :default "Vaata peatükki %s" :html "Vaata peatükki %s" :utf-8 "Vaata peatükki %s")
|
||||
("fa" :default "نمایش بخش %s")
|
||||
|
@ -6498,6 +6501,7 @@ them."
|
|||
("See table %s"
|
||||
("cs" :default "Viz tabulka %s")
|
||||
("et" :default "Vaata tabelit %s")
|
||||
("de" :default "Siehe Tabelle %s")
|
||||
("fa" :default "نمایش جدول %s")
|
||||
("fr" :default "cf. tableau %s"
|
||||
:html "cf. tableau %s" :latex "cf.~tableau~%s")
|
||||
|
|
Loading…
Reference in New Issue