From 5c25fc413cfdd0fa7e0fa0fcd00fdcc4dea33975 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 17 Feb 2005 01:29:52 +0000 Subject: *** empty log message *** --- ledger.el | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'ledger.el') diff --git a/ledger.el b/ledger.el index a91c9ca2..5e2c121a 100644 --- a/ledger.el +++ b/ledger.el @@ -146,14 +146,8 @@ Return the difference in the format of a time value." (insert (with-temp-buffer (setq exit-code - (apply #'ledger-run-ledger - ledger-buf "entry" - (mapcar - (function - (lambda (x) - (replace-regexp-in-string "\\([&$]\\)" "\\\\\\1" - (eval x)))) - args))) + (apply #'ledger-run-ledger ledger-buf "entry" + (mapcar 'eval args))) (if (= 0 exit-code) (if insert-year (buffer-substring 2 (point-max)) -- cgit v1.2.3