Non-destructive replace?
Posted: Tue Jan 10, 2006 2:34 pm
How do I a non-destructive replace? I've realised that my problem is:
(set 'new-filename (replace "." old-file-name "copy."))
- I've destroyed the old-file-name...
It seems wrong to make a safe copy beforehand.
(set 'new-filename (replace "." old-file-name "copy."))
- I've destroyed the old-file-name...
It seems wrong to make a safe copy beforehand.