[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 80ae8462a6 1/2: org-element--standard-properties: R
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 80ae8462a6 1/2: org-element--standard-properties: Re-order, putting boundaries in order |
Date: |
Tue, 22 Aug 2023 06:58:11 -0400 (EDT) |
branch: externals/org
commit 80ae8462a6f96d8fbf4199926c65f281c2b76be1
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
org-element--standard-properties: Re-order, putting boundaries in order
* lisp/org-element-ast.el (org-element--standard-properties): Re-order
the properties, making the element boundaries in order as they will
appear in buffer. Re-group other properties.
---
lisp/org-element-ast.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lisp/org-element-ast.el b/lisp/org-element-ast.el
index e829474189..c4c6d1c6f4 100644
--- a/lisp/org-element-ast.el
+++ b/lisp/org-element-ast.el
@@ -334,12 +334,13 @@ need to re-read the value again."
(eval-and-compile ; make available during inline expansion
(defconst org-element--standard-properties
- '( :begin :end :contents-begin :contents-end
- :post-blank :post-affiliated :secondary
+ '( :begin :post-affiliated :contents-begin :contents-end :end :post-blank
+ :secondary :mode :granularity
:cached :org-element--cache-sync-key
:robust-begin :robust-end
- :mode :granularity :true-level
- :parent :deferred :structure :buffer)
+ :true-level
+ :buffer :deferred
+ :structure :parent)
"Standard properties stored in every syntax node structure.
These properties are stored in an array pre-allocated every time a new
object is created. Two exceptions are `anonymous' and `plain-text'