emacs-devel
[Top][All Lists]
Advanced

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

Re: Why does write-region use message_with_string?


From: Eli Zaretskii
Subject: Re: Why does write-region use message_with_string?
Date: Sat, 26 Oct 2013 09:41:53 +0300

> From: Stefan Monnier <address@hidden>
> Date: Fri, 25 Oct 2013 21:42:46 -0400
> Cc: address@hidden
> 
> > In fileio.c:4995, this function calls message_with_string directly,
> > circumventing lisp completely.
> 
> It can probably be changed to call `message'.

I think write-region might be called when Emacs is crashing.  At that
time, it might not be safe to call Lisp.

> But I'd be surprised if there aren't other places where you will
> bump into similar problems.

At least do-auto-save does the same.



reply via email to

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