mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 13:02:51 +00:00
org-element-normalize-contents: Fix when ELEMENT is anonymous
* lisp/org-element.el (org-element-normalize-contents): Use `org-element-set-contents' to set contents instead of assuming (TYPE PROP CONTENTS) structure.
This commit is contained in:
parent
8e2f6d94e9
commit
28b6a231e9
|
@ -5331,8 +5331,9 @@ indentation removed from its contents."
|
|||
(lambda (datum)
|
||||
;; Return DATUM with all its strings indentation
|
||||
;; shortened from MIN-IND white spaces.
|
||||
(setcdr
|
||||
(cdr datum)
|
||||
(apply
|
||||
#'org-element-set-contents
|
||||
datum
|
||||
(mapcar
|
||||
(lambda (object)
|
||||
(cond
|
||||
|
|
Loading…
Reference in a new issue