* WL-MK (make-wl-news): Don't use replace-regexp.
authoryoichi <yoichi>
Fri, 7 Feb 2003 16:20:24 +0000 (16:20 +0000)
committeryoichi <yoichi>
Fri, 7 Feb 2003 16:20:24 +0000 (16:20 +0000)
WL-MK

diff --git a/WL-MK b/WL-MK
index d706e76..9823afd 100644 (file)
--- a/WL-MK
+++ b/WL-MK
                    (save-excursion
                      (narrow-to-region p (point))
                      (goto-char (1+ p))
-                     (replace-regexp "^(" "\\\\(") ; avoid font-lock confusion
+                     (while (re-search-forward "^(" nil t)
+                       (replace-match "\\\\(")) ; avoid font-lock confusion
                      (widen)))
                  (insert ")\n"))
              (insert "(defconst wl-news-news-alist nil)\n\n"))