diff options
author | Craig Earls <enderw88@gmail.com> | 2014-07-12 21:34:35 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-07-12 21:34:35 -0700 |
commit | 19adbf040032c300dbbafc35febb95aee408c343 (patch) | |
tree | df085f8f5973a4ef0f8f9350c3291ea28f054a42 /lisp/ledger-xact.el | |
parent | ed692ee9a8c2dc78988f7c905e1f2f5e77c88af8 (diff) | |
download | fork-ledger-19adbf040032c300dbbafc35febb95aee408c343.tar.gz fork-ledger-19adbf040032c300dbbafc35febb95aee408c343.tar.bz2 fork-ledger-19adbf040032c300dbbafc35febb95aee408c343.zip |
Code cleanup
Diffstat (limited to 'lisp/ledger-xact.el')
-rw-r--r-- | lisp/ledger-xact.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ledger-xact.el b/lisp/ledger-xact.el index 57be2e5f..0444581e 100644 --- a/lisp/ledger-xact.el +++ b/lisp/ledger-xact.el @@ -129,7 +129,7 @@ MOMENT is an encoded date" mark desc))))) (forward-line)))) -(defsubst ledger-goto-line (line-number) +(defun ledger-goto-line (line-number) "Rapidly move point to line LINE-NUMBER." (goto-char (point-min)) (forward-line (1- line-number))) @@ -170,8 +170,8 @@ MOMENT is an encoded date" (defun ledger-add-transaction (transaction-text &optional insert-at-point) "Use ledger xact TRANSACTION-TEXT to add a transaction to the buffer. -If INSERT-AT-POINT is non-nil insert the transaction -there, otherwise call `ledger-xact-find-slot' to insert it at the +If INSERT-AT-POINT is non-nil insert the transaction there, +otherwise call `ledger-xact-find-slot' to insert it at the correct chronological place in the buffer." (interactive (list ;; Note: This isn't "just" the date - it can contain |