Fix regexp bugs

* lisp/progmodes/idlwave.el (idlwave-make-tags):
* lisp/obsolete/mantemp.el (mantemp-insert-cxx-syntax):
Repair obviously over-escaped control characters.
This commit is contained in:
Mattias Engdegård 2023-05-13 17:03:20 +02:00
parent 867b104010
commit a7dcc0d55c
2 changed files with 2 additions and 2 deletions

View file

@ -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))

View file

@ -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*"))