emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/latex-table-wizard f9394894f7 05/70: Fix parsing if 0,


From: ELPA Syncer
Subject: [elpa] externals/latex-table-wizard f9394894f7 05/70: Fix parsing if 0, 0 cell starts in same line as \begin macro
Date: Sat, 13 May 2023 08:59:10 -0400 (EDT)

branch: externals/latex-table-wizard
commit f9394894f73e931afbb21bda7c6d9506d989fefa
Author: Enrico Flor <nericoflor@gmail.com>
Commit: Enrico Flor <nericoflor@gmail.com>

    Fix parsing if 0,0 cell starts in same line as \begin macro
---
 latex-table-wizard.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/latex-table-wizard.el b/latex-table-wizard.el
index 5ed62f1691..bf733c4264 100644
--- a/latex-table-wizard.el
+++ b/latex-table-wizard.el
@@ -5,7 +5,7 @@
 ;; Author: Enrico Flor <enrico@eflor.net>
 ;; Maintainer: Enrico Flor <enrico@eflor.net>
 ;; URL: https://github.com/enricoflor/latex-table-wizard
-;; Version: 0.0.1
+;; Version: 0.0.2
 
 ;; Package-Requires: ((emacs "27.1") (auctex "12.1") (transient "0.3.7"))
 
@@ -327,6 +327,11 @@ Each value is an integer, S and E are markers."
         (when (looking-at-p "[[:space:]]*\\($\\|%\\)")
           ;; nothing interesting left between point and eol
           (forward-line))
+        ;; we need to make some space between the end of of the \begin
+        ;; macro and the start of the (0,0) cell
+        (if (looking-at-p "[[:space:]]")
+            (forward-char 1)
+          (insert " "))
         (let* ((col-re
                 (latex-table-wizard--disjoin
                  latex-table-wizard--current-col-delims))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]