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

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

[elpa] externals/latex-table-wizard 9d779a2d9b 42/70: Correct conditiona


From: ELPA Syncer
Subject: [elpa] externals/latex-table-wizard 9d779a2d9b 42/70: Correct conditional in mode startup
Date: Sat, 13 May 2023 08:59:13 -0400 (EDT)

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

    Correct conditional in mode startup
---
 latex-table-wizard.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/latex-table-wizard.el b/latex-table-wizard.el
index 12a3802748..0238ae355f 100644
--- a/latex-table-wizard.el
+++ b/latex-table-wizard.el
@@ -864,8 +864,8 @@ cell borders)."
         (goto-char (plist-get x :start))
         (unless (looking-back "^[[:space:]]*" (line-beginning-position))
           (insert "\n")))
-      (whitespace-cleanup-region (caar latex-table-wizard--parse)
-                                 (cdar latex-table-wizard--parse))
+      (whitespace-cleanup-region (car (car latex-table-wizard--parse))
+                                 (cdr (car latex-table-wizard--parse)))
       (dolist (x (flatten-list (mapcar (lambda (x) `(,(plist-get x :start)
                                                      ,(plist-get x :end)))
                                        (latex-table-wizard--parse-table))))
@@ -1464,8 +1464,8 @@ Only remove them in current buffer."
   (interactive)
   (when (region-active-p) (deactivate-mark))
   (if latex-table-wizard-mode
-      (latex-table-wizard-mode 1)
-    (latex-table-wizard--make-prefix))
+      (latex-table-wizard--make-prefix)
+    (latex-table-wizard-mode 1))
   (latex-table-wizard--get-out)
   (latex-table-wizard--hide-rest)
   (call-interactively #'latex-table-wizard-prefix))



reply via email to

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