diff options
author | Kenny Meyer <knny.myer@gmail.com> | 2011-12-09 00:56:14 -0200 |
---|---|---|
committer | Kenny Meyer <knny.myer@gmail.com> | 2011-12-09 00:56:14 -0200 |
commit | ef5283d7f2dbc1a9fa7228e9877bcf1fca547ef0 (patch) | |
tree | 631ab2578d2b862de913e4d5d3ccfdcf116cb53d | |
parent | dedf04aa43802155f0874d34047ffaa6aa05672b (diff) | |
download | fork-ledger-ef5283d7f2dbc1a9fa7228e9877bcf1fca547ef0.tar.gz fork-ledger-ef5283d7f2dbc1a9fa7228e9877bcf1fca547ef0.tar.bz2 fork-ledger-ef5283d7f2dbc1a9fa7228e9877bcf1fca547ef0.zip |
Add easy-menu for Emacs-mode
-rw-r--r-- | lisp/ledger.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lisp/ledger.el b/lisp/ledger.el index 2d15f090..56bc33cd 100644 --- a/lisp/ledger.el +++ b/lisp/ledger.el @@ -1316,6 +1316,24 @@ end of a ledger file which is included in some other file." (expand-file-name ledger-master-file) (buffer-file-name))) +(easy-menu-define ledger-menu ledger-mode-map + "Ledger menu" + '("Ledger" + ["New entry" ledger-add-entry t] + ["Toggle cleared status of current entry" ledger-toggle-current-entry t] + ["Set default year for entry" ledger-set-year t] + ["Set default month for entry" ledger-set-month t] + "--" + ["Reconcile uncleared entries for account" ledger-reconcile t] + "--" + "Reports" + ["Run a report" ledger-report t] + ["Go to report buffer" ledger-report-goto t] + ["Edit defined reports" ledger-report-edit t] + ["Save report definition" ledger-report-save t] + ["Re-run ledger report" ledger-report-redo t] + ["Kill report buffer" ledger-report-kill t])) + (provide 'ledger) ;;; ledger.el ends here |