[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Remove minibuffer message after appending to file
From: |
Sebastien |
Subject: |
Remove minibuffer message after appending to file |
Date: |
Mon, 5 Oct 2009 23:34:17 -0700 (PDT) |
User-agent: |
G2/1.0 |
Is it possible to remove the text
"Added to <filename>"
which appears in the minibuffer after appending text to a file via
(append-to-file min max filename)
or
(write-region min max filename t) ?
The souce code generating the message is in "fileio.c" in the
function Fwrite_region .
if (!auto_saving)
message_with_string ((INTEGERP (append)
? "Updated %s"
: ! NILP (append)
? "Added to %s"
: "Wrote %s"),
visit_file, 1);
It would be nice to have a technique to bypass the message_with_string
function.
Regards,
Sebastien
- Remove minibuffer message after appending to file,
Sebastien <=