ledger-sort-region did nothing if point was at end of region.
This commit is contained in:
parent
13b4c5adc0
commit
007836dfce
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@
|
||||||
(new-end end))
|
(new-end end))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(save-restriction
|
(save-restriction
|
||||||
|
(goto-char beg)
|
||||||
(ledger-next-record-function) ;; make sure point is at the
|
(ledger-next-record-function) ;; make sure point is at the
|
||||||
;; beginning of a xact
|
;; beginning of a xact
|
||||||
(setq new-beg (point))
|
(setq new-beg (point))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue