forked from mirrors/org-mode
org-export: Don't modify inlinetasks stars when including a file
* contrib/lisp/org-export.el (org-export--prepare-file-contents): Don't modify inlinetasks stars when including a file.
This commit is contained in:
parent
94232ab5c6
commit
9497098dd4
|
@ -2880,6 +2880,7 @@ file should have."
|
|||
;; that headlines with minimal level have a level of MINLEVEL.
|
||||
(when minlevel
|
||||
(unless (eq major-mode 'org-mode) (org-mode))
|
||||
(org-with-limited-levels
|
||||
(let ((levels (org-map-entries
|
||||
(lambda () (org-reduced-level (org-current-level))))))
|
||||
(when levels
|
||||
|
@ -2890,7 +2891,7 @@ file should have."
|
|||
;; sections.
|
||||
(org-map-entries
|
||||
(lambda () (if (< offset 0) (delete-char (abs offset))
|
||||
(insert (make-string offset ?*))))))))))
|
||||
(insert (make-string offset ?*)))))))))))
|
||||
(buffer-string)))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue