emacs-devel
[Top][All Lists]
Advanced

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

Why does write-region use message_with_string?


From: T.V. Raman
Subject: Why does write-region use message_with_string?
Date: Sun, 27 Oct 2013 15:07:50 -0700

:-) I hit exactly this issue -- see related thread where I
requested the same as you.

-- 
Best Regards,
--raman


On 10/25/13, Jorgen Schaefer <address@hidden> wrote:
> Hi!
> I'm trying to intercept all output from emacs -batch from within lisp.
> This works nicely with a defadvice around `message' and `princ', except
> in one case: write-region.
>
> In fileio.c:4995, this function calls message_with_string directly,
> circumventing lisp completely.
>
> Is there a particular reason for this, or can this be replaced by the
> usual message functions?
>
> Regards,
> Jorgen
>
>



reply via email to

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