auctex-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 4c26ef9b0b 21/23: ; Delete ineffective string es


From: Tassilo Horn
Subject: [elpa] externals/auctex 4c26ef9b0b 21/23: ; Delete ineffective string escapes
Date: Thu, 20 Oct 2022 14:53:26 -0400 (EDT)

branch: externals/auctex
commit 4c26ef9b0b0aa72fa660f85ec5bc8bd206732995
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    ; Delete ineffective string escapes
    
    * latex.el (LaTeX-outline-name)
    (TeX-arg-verb-delim-or-brace)
    (LaTeX-error-description-list):
    * tex.el (TeX-submit-bug-report): Delete ineffective string
    escapes reported by relint.
---
 latex.el | 8 ++++----
 tex.el   | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/latex.el b/latex.el
index 9e5cff3d9d..9bd2b6ac6b 100644
--- a/latex.el
+++ b/latex.el
@@ -375,7 +375,7 @@ If so, return the second element, otherwise return nil."
 (defun LaTeX-outline-name ()
   "Guess a name for the current header line."
   (save-excursion
-    (if (re-search-forward "{\\([^\}]*\\)}" (+ (point) fill-column 10) t)
+    (if (re-search-forward "{\\([^}]*\\)}" (+ (point) fill-column 10) t)
         (match-string 1)
       (buffer-substring (point) (min (point-max) (+ 20 (point)))))))
 
@@ -2900,7 +2900,7 @@ The compatibility argument OPTIONAL and IGNORE are 
ignored."
 If OPTIONAL, indicate optional argument in minibuffer.  PROMPT is
 a string replacing the default one when asking the user for text.
 This function is intended for \\verb like macros which take their
-argument in delimiters like \"\| \|\" or braces \"\{ \}\"."
+argument in delimiters like \"| |\" or braces \"{ }\"."
   (let ((del (read-quoted-char
               (concat "Delimiter (default "
                       (char-to-string LaTeX-default-verb-delimiter) "): "))))
@@ -6772,13 +6772,13 @@ you did something too clever, or AUCTeX something too 
stupid.")
 
     ("Bad \\\\line or \\\\vector argument.*" .
      "The first argument of a \\line or \\vector command, which specifies the
-slope, is illegal\.")
+slope, is illegal.")
 
     ("Bad math environment delimiter.*" .
      "TeX has found either a math-mode-starting command such as \\[ or \\(
 when it is already in math mode, or else a math-mode-ending command
 such as \\) or \\] while in LR or paragraph mode.  The problem is caused
-by either unmatched math mode delimiters or unbalanced braces\.")
+by either unmatched math mode delimiters or unbalanced braces.")
 
     ("Bad use of \\\\\\\\.*" .
      "A \\\\ command appears between paragraphs, where it makes no sense. This
diff --git a/tex.el b/tex.el
index e6f09d8fb5..e9690b9c4d 100644
--- a/tex.el
+++ b/tex.el
@@ -6308,7 +6308,7 @@ available from ")
         (insert " if your
 installation is older than the one available from the web site.
 
-If the bug is triggered by a specific \(La\)TeX file, you should try
+If the bug is triggered by a specific (La)TeX file, you should try
 to produce a minimal sample file showing the problem and include it
 in your report.
 




reply via email to

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