From c68bdde19fe13d85b606c6f8e5f24608c0d4810c Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Thu, 21 Feb 2013 21:39:30 -0700 Subject: Another buglet in the commodity handler. --- lisp/ldg-commodities.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp/ldg-commodities.el') diff --git a/lisp/ldg-commodities.el b/lisp/ldg-commodities.el index c832f375..14cc168f 100644 --- a/lisp/ldg-commodities.el +++ b/lisp/ldg-commodities.el @@ -49,6 +49,7 @@ This only has effect interfacing to calc mode in edit amount" (string-to-number (ledger-commodity-string-number-decimalize (delete-and-extract-region (match-beginning 0) (match-end 0)) :from-user))) + (goto-char (point-min)) (re-search-forward "[^[:space:]]" nil t) (setq comm (delete-and-extract-region (match-beginning 0) (match-end 0))) -- cgit v1.2.3