[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why does write-region use message_with_string?
From: |
Jorgen Schaefer |
Subject: |
Why does write-region use message_with_string? |
Date: |
Sat, 26 Oct 2013 01:27:33 +0200 |
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
- Why does write-region use message_with_string?,
Jorgen Schaefer <=