Synch to No Gnus 200410010354.
[elisp/gnus.git-] / lisp / html2text.el
index b5c7478..1fa0c0b 100644 (file)
@@ -176,12 +176,12 @@ formatting, and then moved afterward.")
   (goto-char p1)
   (let ((item-nr 0)
        (items   0))
-    (while (re-search-forward "<li>" p2 t)
+    (while (search-forward "<li>" p2 t)
       (setq items (1+ items)))
     (goto-char p1)
     (while (< item-nr items)
       (setq item-nr (1+ item-nr))
-      (re-search-forward "<li>" (point-max) t)
+      (search-forward "<li>" (point-max) t)
       (cond
        ((string= list-type "ul") (insert " o "))
        ((string= list-type "ol") (insert (format " %s: " item-nr)))
@@ -191,7 +191,7 @@ formatting, and then moved afterward.")
   (goto-char p1)
   (let ((items   0)
        (item-nr 0))
-    (while (re-search-forward "<dt>" p2 t)
+    (while (search-forward "<dt>" p2 t)
       (setq items (1+ items)))
     (goto-char p1)
     (while (< item-nr items)
@@ -370,7 +370,7 @@ See the documentation for that variable."
              (attr (match-string 0)))
          (search-backward "<" (point-min) t)
          (setq p1 (point))
-         (re-search-forward (format "</%s>" tag) (point-max) t)
+         (search-forward (format "</%s>" tag) (point-max) t)
          (setq p4 (point))
          (search-backward "</" (point-min) t)
          (setq p3 (point))