summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDavid Keegan <dksw@eircom.net>2013-03-09 19:19:40 +0000
committerDavid Keegan <dksw@eircom.net>2013-03-09 19:19:40 +0000
commit007836dfce1dcba54f6bbb5f0a5c3f9eb12e21da (patch)
tree4b66c69e7f67fbc1a9b2725b0efd9973f0408c96 /lisp
parent13b4c5adc000ca17c03a7d412f6e0a12a0f35e74 (diff)
downloadfork-ledger-007836dfce1dcba54f6bbb5f0a5c3f9eb12e21da.tar.gz
fork-ledger-007836dfce1dcba54f6bbb5f0a5c3f9eb12e21da.tar.bz2
fork-ledger-007836dfce1dcba54f6bbb5f0a5c3f9eb12e21da.zip
ledger-sort-region did nothing if point was at end of region.
Diffstat (limited to 'lisp')
-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))