Prevent failure if ledger sort buffer is called with point before the ledger start marker.
This commit is contained in:
parent
47142e5846
commit
a22ae04136
1 changed files with 7 additions and 7 deletions
|
|
@ -100,7 +100,7 @@
|
|||
'ledger-end-record-function
|
||||
'ledger-sort-startkey))))
|
||||
|
||||
(goto-char beg)
|
||||
(goto-char (point-min))
|
||||
(re-search-forward (regexp-quote target-xact))
|
||||
(goto-char (+ (match-beginning 0) point-delta))
|
||||
(setq inhibit-modification-hooks nil)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue