From 09929d6f496ed36d08988dc5397af97fb486d7ff Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 4 Sep 2009 19:49:50 +0000 Subject: replace-in-string -> replace-regexp-in-string --- plastic/plastic.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plastic') diff --git a/plastic/plastic.el b/plastic/plastic.el index b02d2065..8fc134ed 100644 --- a/plastic/plastic.el +++ b/plastic/plastic.el @@ -563,8 +563,8 @@ We assume that module identifiers coincide with file names." )) (t (incf i)))) ; else include. - (setq string (replace-in-string string " +" " ")) - (setq string (replace-in-string string "^ +" "")) + (setq string (replace-regexp-in-string " +" " " string)) + (setq string (replace-regexp-in-string "^ +" "" string)) (if (string-match "^\\s-*$" string) (setq string (concat "ECHO comment line" proof-terminal-string)) string)))) -- cgit v1.2.3