diff options
author | Craig Earls <enderw88@gmail.com> | 2013-02-01 22:34:28 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-02-01 22:34:28 -0700 |
commit | 7c618e541d4c1e5e4ac476b6724abf2ec97a38b2 (patch) | |
tree | 88ff79940fc0b0cfdba4432d2e58ae1a961268f8 /lisp/ldg-post.el | |
parent | c875de881a3998ec9a9815acded80f381701e711 (diff) | |
download | ledger-7c618e541d4c1e5e4ac476b6724abf2ec97a38b2.tar.gz ledger-7c618e541d4c1e5e4ac476b6724abf2ec97a38b2.tar.bz2 ledger-7c618e541d4c1e5e4ac476b6724abf2ec97a38b2.zip |
Added menu and keybinding for ledger-post-edit-amount
editing the amount with calc is too cool for school. I can't believe I didn't see it before.
It is in the docs now as well.
Diffstat (limited to 'lisp/ldg-post.el')
-rw-r--r-- | lisp/ldg-post.el | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lisp/ldg-post.el b/lisp/ldg-post.el index 7cb525a7..14a8cdad 100644 --- a/lisp/ldg-post.el +++ b/lisp/ldg-post.el @@ -183,11 +183,6 @@ This is done so that the last digit falls in COLUMN, which defaults to 52." (goto-char (match-end ledger-regex-post-line-group-account)))) (defun ledger-post-setup () - (let ((map (current-local-map))) - (define-key map [(meta ?p)] 'ledger-post-prev-xact) - (define-key map [(meta ?n)] 'ledger-post-next-xact) - (define-key map [(control ?c) (control ?c)] 'ledger-post-pick-account) - (define-key map [(control ?c) (control ?e)] 'ledger-post-edit-amount)) (if ledger-post-auto-adjust-amounts (add-hook 'after-change-functions 'ledger-post-maybe-align t t)) (add-hook 'after-save-hook #'(lambda () (setq ledger-post-current-list nil)))) |