emacs-31 ffad15bf738: Update to Org 9.8.7

Kyle Meyer <[email protected]> Sun, 5 Jul 2026 10:18:25 -0400 (EDT)
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: emacs-31
commit ffad15bf7386f12975ded2a375bbc0da03a2ead7
Author: Kyle Meyer <[email protected]>
Commit: Kyle Meyer <[email protected]>

    Update to Org 9.8.7
---
 doc/misc/org.org         | 18 ++++++++++--------
 etc/refcards/orgcard.tex |  2 +-
 lisp/org/org-agenda.el   |  6 ++++--
 lisp/org/org-feed.el     |  2 +-
 lisp/org/org-version.el  |  4 ++--
 lisp/org/org.el          |  2 +-
 lisp/org/ox-beamer.el    |  1 +
 7 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/doc/misc/org.org b/doc/misc/org.org
index 8644109a6a1..d4bf8cb009c 100644
--- a/doc/misc/org.org
+++ b/doc/misc/org.org
@@ -10013,8 +10013,8 @@ entries with a =NEXT= TODO keyword.
          ((org-agenda-max-entries 5)))))
 #+end_src
 
-Once you mark one of these five entry as DONE, rebuilding the agenda
-will again the next five entries again, including the first entry that
+Once you mark one of these five entries as DONE, rebuilding the agenda
+will show the next five entries again, including the first entry that
 was excluded so far.
 
 You can also dynamically set temporary limits, which are lost when
@@ -10269,7 +10269,7 @@ the other commands, point needs to be in the desired line.
   Toggle Archives mode.  In Archives mode, trees that are archived
   (see [[*Internal archiving]]) are also scanned when producing the
   agenda.  To exit archives mode, press {{{kbd(v a)}}} again.  The
-  initial setting for this mode in new agenda buffers can set with the
+  initial setting for this mode in new agenda buffers can be set with the
   variable ~org-agenda-start-with-archives-mode~, which can be set
   with the same values as ~org-agenda-archives-mode~.
 
@@ -14552,11 +14552,13 @@ include:
   #+vindex: org-latex-tables-booktabs
   #+vindex: org-latex-tables-centered
   All three commands are toggles.  =:booktabs= brings in modern
-  typesetting enhancements to regular tables.  The booktabs package
-  has to be loaded through ~org-latex-packages-alist~.  =:center= is
-  for centering the table.  =:rmlines= removes all but the very first
-  horizontal line made of ASCII characters from "table.el" tables
-  only.
+  typesetting enhancements to regular tables.  The =booktabs= package
+  needs to be loaded through ~org-latex-packages-alist~, unless it is
+  already included by your document class[fn:: For example,
+  [[https://authors.acm.org/proceedings/production-information/preparing-your-article-with-latex][the
+  ACM article template]].].  =:center= is for centering the table.
+  =:rmlines= removes all but the very first horizontal line made of
+  ASCII characters from "table.el" tables only.
 
 - =:math-prefix=, =:math-suffix=, =:math-arguments= ::
 
diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex
index 300af8d9d8c..f558d05ae74 100644
--- a/etc/refcards/orgcard.tex
+++ b/etc/refcards/orgcard.tex
@@ -1,5 +1,5 @@
 % Reference Card for Org Mode
-\def\orgversionnumber{9.8.6}
+\def\orgversionnumber{9.8.7}
 \def\versionyear{2026}          % latest update
 \input emacsver.tex
 
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el
index 481eba50313..d727ab4cef0 100644
--- a/lisp/org/org-agenda.el
+++ b/lisp/org/org-agenda.el
@@ -9723,8 +9723,10 @@ the dedicated frame."
 	 (pos (marker-position marker)))
     (with-current-buffer buffer
       (save-excursion
-	(goto-char pos)
-	(org-tree-to-indirect-buffer arg))))
+	(save-restriction
+	  (widen)
+	  (goto-char pos)
+	  (org-tree-to-indirect-buffer arg)))))
   (setq org-agenda-last-indirect-buffer org-last-indirect-buffer))
 
 (defvar org-last-heading-marker (make-marker)
diff --git a/lisp/org/org-feed.el b/lisp/org/org-feed.el
index 139c7f729ef..8ed79121711 100644
--- a/lisp/org/org-feed.el
+++ b/lisp/org/org-feed.el
@@ -112,7 +112,7 @@
 
 (defcustom org-feed-alist nil
   "Alist specifying RSS feeds that should create inputs for Org.
-Each entry in this list specified an RSS feed tat should be queried
+Each entry in this list specified an RSS feed that should be queried
 to create inbox items in Org.  Each entry is a list with the following items:
 
 name         a custom name for this feed
diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el
index 25cbd97621b..9a46c453c2f 100644
--- a/lisp/org/org-version.el
+++ b/lisp/org/org-version.el
@@ -5,13 +5,13 @@
 (defun org-release ()
   "The release version of Org.
 Inserted by installing Org mode or when a release is made."
-   (let ((org-release "9.8.6"))
+   (let ((org-release "9.8.7"))
      org-release))
 ;;;###autoload
 (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.8.6"))
+   (let ((org-git-version "release_9.8.7"))
      org-git-version))
 
 (provide 'org-version)
diff --git a/lisp/org/org.el b/lisp/org/org.el
index be9f31ecc9e..a20ecc3c38f 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -9,7 +9,7 @@
 ;; URL: https://orgmode.org
 ;; Package-Requires: ((emacs "28.2"))
 
-;; Version: 9.8.6
+;; Version: 9.8.7
 
 ;; This file is part of GNU Emacs.
 ;;
diff --git a/lisp/org/ox-beamer.el b/lisp/org/ox-beamer.el
index 72fe18acdb8..302ebdc6a40 100644
--- a/lisp/org/ox-beamer.el
+++ b/lisp/org/ox-beamer.el
@@ -4,6 +4,7 @@
 
 ;; Author: Carsten Dominik <carsten.dominik AT gmail DOT com>
 ;;         Nicolas Goaziou <n.goaziou AT gmail DOT com>
+;; Maintainer: Pedro A. Aranda <paaguti aT gmail d.T com>
 ;; Keywords: org, text, tex
 
 ;; This file is part of GNU Emacs.