[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org 332da69: element: Fix table.el parsing... a
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org 332da69: element: Fix table.el parsing... again! |
Date: |
Tue, 5 Jan 2021 12:57:09 -0500 (EST) |
branch: externals-release/org
commit 332da69b3c3ca222943728c20287e4ace6d40e61
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>
element: Fix table.el parsing... again!
* lisp/org-element.el (org-element--current-element): Properly parse
table.el tables ending at limit.
Reported-by: Kaushal Modi <kaushal.modi@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2021-01/msg00067.html>
---
lisp/org-element.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org-element.el b/lisp/org-element.el
index f098479..0f0e01e 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -3971,7 +3971,7 @@ element it has to parse."
(cond
;; Must end with a full rule.
((not (re-search-forward non-table.el-line limit 'move))
- (beginning-of-line)
+ (if (bolp) (forward-line -1) (beginning-of-line))
(looking-at rule-regexp))
;; Ignore pseudo-tables with a single
;; rule.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals-release/org 332da69: element: Fix table.el parsing... again!,
ELPA Syncer <=