emacs-devel
[Top][All Lists]
Advanced

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

Re: write-region bug ?


From: Jean-Christophe Helary
Subject: Re: write-region bug ?
Date: Fri, 3 Jan 2020 02:22:51 +0900


> On Jan 3, 2020, at 2:08, Andreas Schwab <address@hidden> wrote:
> 
> On Jan 03 2020, Jean-Christophe Helary wrote:
> 
>> → for some reason, the foo.el buffer is now associated to bar.txt
> 
> You asked for it.

Where ?

(write-region "" nil "~/Desktop/bar.txt" nil t nil t)

write-region start end filename &optional append visit lockname mustbenew

1) If start is a string, then write-region writes or appends that string, 
rather than text from the buffer. end is ignored in this case.

start is "", isn't it ?


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





reply via email to

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