mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
Update to Org 9.8.6
This commit is contained in:
parent
d48977dea8
commit
df60bad165
5 changed files with 14 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
% Reference Card for Org Mode
|
% Reference Card for Org Mode
|
||||||
\def\orgversionnumber{9.8.5}
|
\def\orgversionnumber{9.8.6}
|
||||||
\def\versionyear{2026} % latest update
|
\def\versionyear{2026} % latest update
|
||||||
\input emacsver.tex
|
\input emacsver.tex
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2976,6 +2976,7 @@ used as a string to be appended to #+begin_example line."
|
||||||
(forward-line 0) (insert ": ") (forward-line 1)))
|
(forward-line 0) (insert ": ") (forward-line 1)))
|
||||||
(t
|
(t
|
||||||
(goto-char beg)
|
(goto-char beg)
|
||||||
|
(unless (bolp) (insert "\n"))
|
||||||
(insert (if results-switches
|
(insert (if results-switches
|
||||||
(format "%s%s\n"
|
(format "%s%s\n"
|
||||||
(funcall maybe-cap "#+begin_example")
|
(funcall maybe-cap "#+begin_example")
|
||||||
|
|
@ -2984,7 +2985,9 @@ used as a string to be appended to #+begin_example line."
|
||||||
(let ((p (point)))
|
(let ((p (point)))
|
||||||
(if (markerp end) (goto-char end) (forward-char (- end beg)))
|
(if (markerp end) (goto-char end) (forward-char (- end beg)))
|
||||||
(org-escape-code-in-region p (point)))
|
(org-escape-code-in-region p (point)))
|
||||||
(insert (funcall maybe-cap "#+end_example\n")))))))))
|
(unless (bolp) (insert "\n"))
|
||||||
|
(insert (funcall maybe-cap "#+end_example"))
|
||||||
|
(unless (eolp) (insert "\n")))))))))
|
||||||
|
|
||||||
(defun org-babel-update-block-body (new-body)
|
(defun org-babel-update-block-body (new-body)
|
||||||
"Update the body of the current code block to NEW-BODY."
|
"Update the body of the current code block to NEW-BODY."
|
||||||
|
|
|
||||||
|
|
@ -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.8.5"))
|
(let ((org-release "9.8.6"))
|
||||||
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.8.5"))
|
(let ((org-git-version "release_9.8.6"))
|
||||||
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 "28.2"))
|
;; Package-Requires: ((emacs "28.2"))
|
||||||
|
|
||||||
;; Version: 9.8.5
|
;; Version: 9.8.6
|
||||||
|
|
||||||
;; This file is part of GNU Emacs.
|
;; This file is part of GNU Emacs.
|
||||||
;;
|
;;
|
||||||
|
|
@ -9551,6 +9551,7 @@ When foo is written as FOO, upcase the #+BEGIN/END as well."
|
||||||
(goto-char region-end)
|
(goto-char region-end)
|
||||||
;; Ignore empty lines at the end of the region.
|
;; Ignore empty lines at the end of the region.
|
||||||
(skip-chars-backward " \r\t\n")
|
(skip-chars-backward " \r\t\n")
|
||||||
|
(unless (eolp) (insert "\n") (forward-line -1))
|
||||||
(end-of-line))
|
(end-of-line))
|
||||||
(unless (bolp) (insert "\n"))
|
(unless (bolp) (insert "\n"))
|
||||||
(indent-to column)
|
(indent-to column)
|
||||||
|
|
@ -9877,7 +9878,8 @@ When called through Elisp, arg is also interpreted in the following way:
|
||||||
(org-update-parent-todo-statistics))
|
(org-update-parent-todo-statistics))
|
||||||
(when (bound-and-true-p org-clock-out-when-done)
|
(when (bound-and-true-p org-clock-out-when-done)
|
||||||
(org-clock-out-if-current))
|
(org-clock-out-if-current))
|
||||||
(run-hooks 'org-after-todo-state-change-hook)
|
(save-excursion
|
||||||
|
(run-hooks 'org-after-todo-state-change-hook))
|
||||||
(when (and arg (not (member org-state org-done-keywords)))
|
(when (and arg (not (member org-state org-done-keywords)))
|
||||||
(setq head (org-get-todo-sequence-head org-state)))
|
(setq head (org-get-todo-sequence-head org-state)))
|
||||||
(put-text-property (line-beginning-position)
|
(put-text-property (line-beginning-position)
|
||||||
|
|
@ -10583,7 +10585,8 @@ enough to shift date past today. Continue? "
|
||||||
(org-timestamp-change n (cdr (assoc what whata)) nil t))
|
(org-timestamp-change n (cdr (assoc what whata)) nil t))
|
||||||
(setq msg
|
(setq msg
|
||||||
(concat msg type " " org-last-changed-timestamp " ")))))))
|
(concat msg type " " org-last-changed-timestamp " ")))))))
|
||||||
(run-hooks 'org-todo-repeat-hook)
|
(save-excursion
|
||||||
|
(run-hooks 'org-todo-repeat-hook))
|
||||||
(setq org-log-post-message msg)
|
(setq org-log-post-message msg)
|
||||||
(message msg))))
|
(message msg))))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1712,7 +1712,7 @@ Return the new header."
|
||||||
;; exclusively through ini files, return HEADER as-is.
|
;; exclusively through ini files, return HEADER as-is.
|
||||||
(header (if (or language-ini-only
|
(header (if (or language-ini-only
|
||||||
(not (stringp language-code))
|
(not (stringp language-code))
|
||||||
(not (string-match "\\\\usepackage\\[\\(.*\\)\\]{babel}" header)))
|
(not (string-match "\\\\usepackage\\[\\([^]]*\\)\\]{babel}" header)))
|
||||||
header
|
header
|
||||||
(let ((options (save-match-data
|
(let ((options (save-match-data
|
||||||
(org-split-string (match-string 1 header) ",[ \t]*"))))
|
(org-split-string (match-string 1 header) ",[ \t]*"))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue