# HG changeset patch # User Stefan Monnier # Date 1189194476 0 # Node ID 2fa07ee359f52387d6ff42236f4b949de1bdda0c # Parent 93833f201e314f6fb9df0c803a467c92130ae57e Add comment. diff -r 93833f201e31 -r 2fa07ee359f5 lisp/pcvs.el --- a/lisp/pcvs.el Fri Sep 07 19:47:46 2007 +0000 +++ b/lisp/pcvs.el Fri Sep 07 19:47:56 2007 +0000 @@ -635,6 +635,9 @@ (if (not (string-match "." str)) (setq str "\n")) (setq str (concat "-- Running " cmd " ...\n" str))) (if (not (string-match + ;; FIXME: If `cmd' is large, this will bump into the + ;; compiled-regexp size limit. We could drop the "^" anchor + ;; and use search-forward to circumvent the problem. (concat "^-- Running " (regexp-quote cmd) " \\.\\.\\.\n") str)) (error "Internal PCL-CVS error while removing message") (setq str (replace-match "" t t str))