help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to write the current buffer into some file?


From: Drew Adams
Subject: RE: How to write the current buffer into some file?
Date: Thu, 9 Oct 2014 20:42:53 -0700 (PDT)

> I'd like to do /some stuff/ on the current buffer.  /Some stuff/
> includes creating a new file, similar to the current buffer, with
> some modifications.  Say that I'm visiting file "./test.org"; I want
> /some stuff/ to happen in "./test-output/test-output.org". 

You probably want `write-region' (or possibly `write-file', if you
want to visit the file).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]