summaryrefslogtreecommitdiff
path: root/src/emacs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/emacs.cc')
-rw-r--r--src/emacs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.cc b/src/emacs.cc
index 7abdfd7f..d5e40114 100644
--- a/src/emacs.cc
+++ b/src/emacs.cc
@@ -41,7 +41,7 @@ namespace ledger {
void format_emacs_posts::write_xact(xact_t& xact)
{
if (xact.pos)
- out << "\"" << xact.pos->pathname << "\" "
+ out << "\"" << xact.pos->pathname.string() << "\" "
<< xact.pos->beg_line << " ";
else
out << "\"\" " << -1 << " ";