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

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

[elpa] externals/auctex 6d3ecf3 5/8: Don't treat comments with whitespac


From: Tassilo Horn
Subject: [elpa] externals/auctex 6d3ecf3 5/8: Don't treat comments with whitespace before % as code comments
Date: Sun, 25 Apr 2021 15:22:51 -0400 (EDT)

branch: externals/auctex
commit 6d3ecf343257ac44edc577d9d6677d07815eabe8
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    Don't treat comments with whitespace before % as code comments
    
    * latex.el (LaTeX-fill-region-as-paragraph): Don't treat comments with
    whitespace before % as code comments (mentioned as addendum to
    bug#47757).
---
 latex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/latex.el b/latex.el
index 3330037..beaa0dd 100644
--- a/latex.el
+++ b/latex.el
@@ -3783,7 +3783,7 @@ performed in that case."
           (if (re-search-forward
                (concat "\\("
                        ;; Code comments.
-                       "[^\r\n%\\]\\([ \t]\\|\\\\\\\\\\)*"
+                       "[^ \r\n%\\]\\([ \t]\\|\\\\\\\\\\)*"
                        TeX-comment-start-regexp
                        "\\|"
                        ;; Lines ending with `\par'.



reply via email to

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