summaryrefslogtreecommitdiff
path: root/lisp/ldg-sort.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-03-09 14:10:59 -0800
committerCraig Earls <enderw88@gmail.com>2013-03-09 14:10:59 -0800
commitb4fafbc94d97c3cab47b39e20e58dfab13f15033 (patch)
treec5139b8ceaacbf386de2d8577535216dc64f2c3b /lisp/ldg-sort.el
parentbe4a212ff2839adebd908be42cbf46254bf4f754 (diff)
parent007836dfce1dcba54f6bbb5f0a5c3f9eb12e21da (diff)
downloadfork-ledger-b4fafbc94d97c3cab47b39e20e58dfab13f15033.tar.gz
fork-ledger-b4fafbc94d97c3cab47b39e20e58dfab13f15033.tar.bz2
fork-ledger-b4fafbc94d97c3cab47b39e20e58dfab13f15033.zip
Merge pull request #163 from davidkeegan/next
Fixed bug 913 ledger mode C-c C-a and ISO dates. I need to reorganize the regexes, anytime you have to fix the same problem in more than one place you know you could do better...
Diffstat (limited to 'lisp/ldg-sort.el')
-rw-r--r--lisp/ldg-sort.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ldg-sort.el b/lisp/ldg-sort.el
index 33ae2a98..01d8edc9 100644
--- a/lisp/ldg-sort.el
+++ b/lisp/ldg-sort.el
@@ -76,6 +76,7 @@
(new-end end))
(save-excursion
(save-restriction
+ (goto-char beg)
(ledger-next-record-function) ;; make sure point is at the
;; beginning of a xact
(setq new-beg (point))