[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 28dc983fff 3/4: Merge branch 'bugfix'
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 28dc983fff 3/4: Merge branch 'bugfix' |
Date: |
Sat, 10 Dec 2022 04:57:55 -0500 (EST) |
branch: externals/org
commit 28dc983fff2bf596a61b5128631f85d71dfb4442
Merge: f01390cf05 0616b3c375
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
Merge branch 'bugfix'
---
lisp/ox.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lisp/ox.el b/lisp/ox.el
index a60e1cf1ec..3e1170dd01 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -3036,6 +3036,11 @@ Return code as a string."
(org-narrow-to-subtree)
(goto-char (point-min))
(org-end-of-meta-data)
+ ;; Make the region include top heading in the subtree.
+ ;; This way, we will be able to retrieve its export
+ ;; options when calling
+ ;; `org-export--get-subtree-options'.
+ (backward-char)
(narrow-to-region (point) (point-max))))
;; Initialize communication channel with original buffer
;; attributes, unavailable in its copy.