ledger-sort-region did nothing if point was at end of region.

This commit is contained in:
David Keegan 2013-03-09 19:19:40 +00:00
parent 13b4c5adc0
commit 007836dfce

View file

@ -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))