[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org f660afc506 1/3: fixup! org-element-parse-secondary-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org f660afc506 1/3: fixup! org-element-parse-secondary-string: Prevent altering current buffer cache |
Date: |
Thu, 12 Oct 2023 06:58:56 -0400 (EDT) |
branch: externals/org
commit f660afc5065a435ffb5b3217d4677d65d40f0f59
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
fixup! org-element-parse-secondary-string: Prevent altering current buffer
cache
Get rid of `org-export..' function call.
---
lisp/org-element.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lisp/org-element.el b/lisp/org-element.el
index 21ae915ac6..e33a9e7f5e 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -548,8 +548,7 @@ The function assumes BUFFER's major mode is `org-mode'."
(pos (point))
(varvals
(unless drop-locals
- (let ((bound-variables (org-export--list-bound-variables))
- (varvals nil))
+ (let ((varvals nil))
(dolist (entry (buffer-local-variables (buffer-base-buffer)))
(when (consp entry)
(let ((var (car entry))
@@ -565,7 +564,6 @@ The function assumes BUFFER's major mode is `org-mode'."
buffer-file-coding-system
;; Needed to preserve folding state
char-property-alias-alist))
- (assq var bound-variables)
(string-match-p "^\\(org-\\|orgtbl-\\)"
(symbol-name var)))
;; Skip unreadable values, as they cannot be