Update to Org 9.7.10
This commit is contained in:
parent
b54e8b3741
commit
023d387a7b
6 changed files with 9 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
% Reference Card for Org Mode
|
% Reference Card for Org Mode
|
||||||
\def\orgversionnumber{9.7.9}
|
\def\orgversionnumber{9.7.10}
|
||||||
\def\versionyear{2024} % latest update
|
\def\versionyear{2024} % latest update
|
||||||
\input emacsver.tex
|
\input emacsver.tex
|
||||||
|
|
||||||
|
|
|
@ -448,6 +448,8 @@ FORMAT and ARGS are passed to `message'."
|
||||||
buffer-or-file (error-message-string err)))
|
buffer-or-file (error-message-string err)))
|
||||||
nil)))))
|
nil)))))
|
||||||
|
|
||||||
|
;; FIXME: `pp' is very slow when writing even moderately large datasets
|
||||||
|
;; We should probably drop it or find some fast formatter.
|
||||||
(defun org-persist--write-elisp-file (file data &optional no-circular pp)
|
(defun org-persist--write-elisp-file (file data &optional no-circular pp)
|
||||||
"Write elisp DATA to FILE."
|
"Write elisp DATA to FILE."
|
||||||
;; Fsync slightly reduces the chance of an incomplete filesystem
|
;; Fsync slightly reduces the chance of an incomplete filesystem
|
||||||
|
@ -898,7 +900,7 @@ Otherwise, return t."
|
||||||
(let ((index-file
|
(let ((index-file
|
||||||
(org-file-name-concat org-persist-directory org-persist-index-file)))
|
(org-file-name-concat org-persist-directory org-persist-index-file)))
|
||||||
(org-persist--merge-index-with-disk)
|
(org-persist--merge-index-with-disk)
|
||||||
(org-persist--write-elisp-file index-file org-persist--index t t)
|
(org-persist--write-elisp-file index-file org-persist--index t)
|
||||||
(setq org-persist--index-age
|
(setq org-persist--index-age
|
||||||
(file-attribute-modification-time (file-attributes index-file)))
|
(file-attribute-modification-time (file-attributes index-file)))
|
||||||
index-file)))
|
index-file)))
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
(defun org-release ()
|
(defun org-release ()
|
||||||
"The release version of Org.
|
"The release version of Org.
|
||||||
Inserted by installing Org mode or when a release is made."
|
Inserted by installing Org mode or when a release is made."
|
||||||
(let ((org-release "9.7.9"))
|
(let ((org-release "9.7.10"))
|
||||||
org-release))
|
org-release))
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(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.7.9"))
|
(let ((org-git-version "release_9.7.10"))
|
||||||
org-git-version))
|
org-git-version))
|
||||||
|
|
||||||
(provide 'org-version)
|
(provide 'org-version)
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
;; URL: https://orgmode.org
|
;; URL: https://orgmode.org
|
||||||
;; Package-Requires: ((emacs "26.1"))
|
;; Package-Requires: ((emacs "26.1"))
|
||||||
|
|
||||||
;; Version: 9.7.9
|
;; Version: 9.7.10
|
||||||
|
|
||||||
;; This file is part of GNU Emacs.
|
;; This file is part of GNU Emacs.
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -2351,7 +2351,7 @@ is the language used for CODE, as a string, or nil."
|
||||||
((not (progn (require 'htmlize nil t)
|
((not (progn (require 'htmlize nil t)
|
||||||
(fboundp 'htmlize-region-for-paste)))
|
(fboundp 'htmlize-region-for-paste)))
|
||||||
;; Emit a warning.
|
;; Emit a warning.
|
||||||
(warn "Cannot fontify source block (htmlize.el >= 1.34 required)")
|
(warn "Cannot fontify source block (htmlize.el >= 1.34 required). Falling back to plain text. (see `org-html-htmlize-output-type')")
|
||||||
(org-html-encode-plain-text code))
|
(org-html-encode-plain-text code))
|
||||||
(t
|
(t
|
||||||
;; Map language
|
;; Map language
|
||||||
|
|
|
@ -81,6 +81,7 @@
|
||||||
(require 'ol)
|
(require 'ol)
|
||||||
(require 'org-element)
|
(require 'org-element)
|
||||||
(require 'org-macro)
|
(require 'org-macro)
|
||||||
|
(require 'org-attach) ; org-attach adds staff to `org-export-before-parsing-functions'
|
||||||
(require 'tabulated-list)
|
(require 'tabulated-list)
|
||||||
|
|
||||||
(declare-function org-src-coderef-format "org-src" (&optional element))
|
(declare-function org-src-coderef-format "org-src" (&optional element))
|
||||||
|
|
Loading…
Add table
Reference in a new issue