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

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

[elpa] externals/latex-table-wizard d5494445cf 62/70: Fix latex-table-wi


From: ELPA Syncer
Subject: [elpa] externals/latex-table-wizard d5494445cf 62/70: Fix latex-table-wizard--comment-thing for multiline cells
Date: Sat, 13 May 2023 08:59:15 -0400 (EDT)

branch: externals/latex-table-wizard
commit d5494445cfa449340d20b0793ea6f5244ca972ed
Author: Enrico Flor <enrico@eflor.net>
Commit: Enrico Flor <enrico@eflor.net>

    Fix latex-table-wizard--comment-thing for multiline cells
---
 latex-table-wizard.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/latex-table-wizard.el b/latex-table-wizard.el
index 01e779de67..adbf9f5fad 100644
--- a/latex-table-wizard.el
+++ b/latex-table-wizard.el
@@ -1397,10 +1397,7 @@ If SELECT is non-nil, add the cell."
       (setq end (point-marker)))
     (goto-char start)
     (unless (TeX-in-comment)
-      (insert " " comment-start " ")
-      (goto-char end)
-      (unless (looking-at-p "[[:space:]]*\\(%\\|$\\)")
-        (open-line 1)))))
+      (comment-region start end))))
 
 (defun latex-table-wizard-comment-out-content ()
   "Comment out the content of the selected cells.



reply via email to

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