emacs-diffs
[Top][All Lists]
Advanced

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

master a7dcc0d55c6: Fix regexp bugs


From: Mattias Engdegård
Subject: master a7dcc0d55c6: Fix regexp bugs
Date: Sat, 13 May 2023 12:03:09 -0400 (EDT)

branch: master
commit a7dcc0d55c641d3a16ed64528e726fb297726cbf
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Fix regexp bugs
    
    * lisp/progmodes/idlwave.el (idlwave-make-tags):
    * lisp/obsolete/mantemp.el (mantemp-insert-cxx-syntax):
    Repair obviously over-escaped control characters.
---
 lisp/obsolete/mantemp.el  | 2 +-
 lisp/progmodes/idlwave.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/obsolete/mantemp.el b/lisp/obsolete/mantemp.el
index 5349ec32cab..9fd6c91cc4e 100644
--- a/lisp/obsolete/mantemp.el
+++ b/lisp/obsolete/mantemp.el
@@ -152,7 +152,7 @@ the lines."
     (while (re-search-forward "^.+" nil t)
       (progn
        (beginning-of-line)
-       (if (looking-at "struct[\\t ]+\\|class[\\t ]+")
+       (if (looking-at "struct[\t ]+\\|class[\t ]+")
            (insert "template ")
          (insert "template class "))))
     (goto-char (point-min))
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index 0b5ed93068a..cafd7b95da7 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -3891,7 +3891,7 @@ you specify /."
            (while (and item)
              ;;
              ;; Call etags
-             (if (not (string-match "^[ \\t]*$" item))
+             (if (not (string-match "^[ \t]*$" item))
                  (progn
                    (message "%s" (concat "Tagging " item "..."))
                    (setq errbuf (get-buffer-create "*idltags-error*"))



reply via email to

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