From b2a91d173d646401650acdcebd352cd7fb8659fc Mon Sep 17 00:00:00 2001 From: yoichi Date: Fri, 7 Feb 2003 16:20:24 +0000 Subject: [PATCH 1/1] * WL-MK (make-wl-news): Don't use replace-regexp. --- WL-MK | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WL-MK b/WL-MK index d706e76..9823afd 100644 --- a/WL-MK +++ b/WL-MK @@ -491,7 +491,8 @@ (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")) -- 1.7.10.4