emacs-devel
[Top][All Lists]
Advanced

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

write-region to a negative offset


From: Jean-Christophe Helary
Subject: write-region to a negative offset
Date: Mon, 16 Dec 2019 21:43:00 +0900

It seems like write-region only accepts a positive offset from the beginning of 
the file.

I'd like to add an xml block at a given position relative to the end of the 
file. I'd rather add to a negative offset from the end of the file since that 
part is static.

Is there a way to do that that does not involve finding the value of point at 
the place I'd like to insert the block ?


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





reply via email to

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