diff options
author | Craig Earls <enderw88@gmail.com> | 2016-01-11 19:34:32 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2016-01-11 19:34:32 -0700 |
commit | 443b12921e1adb86ef9abc6ad380d12570e31f27 (patch) | |
tree | 12fcc92081534da9f49f19619c607484b7d124de /lisp/ledger-report.el | |
parent | d24be7446dc77cbdd80db6a105ad3b7a8fd919aa (diff) | |
parent | d50ac1722f9450d4963dbd044d555d31b3c44ed2 (diff) | |
download | fork-ledger-443b12921e1adb86ef9abc6ad380d12570e31f27.tar.gz fork-ledger-443b12921e1adb86ef9abc6ad380d12570e31f27.tar.bz2 fork-ledger-443b12921e1adb86ef9abc6ad380d12570e31f27.zip |
Merge branch 'fix-warnings' of https://github.com/ecraven/ledger into ecraven-fix-warning
# Conflicts:
# lisp/ledger-occur.el
# lisp/ledger-report.el
# lisp/ledger-schedule.el
# lisp/ledger-sort.el
Diffstat (limited to 'lisp/ledger-report.el')
-rw-r--r-- | lisp/ledger-report.el | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lisp/ledger-report.el b/lisp/ledger-report.el index 8b6b1c9d..83c287eb 100644 --- a/lisp/ledger-report.el +++ b/lisp/ledger-report.el @@ -25,9 +25,14 @@ ;;; Code: +(declare-function ledger-read-string-with-default "ledger-mode" (prompt default)) +(declare-function ledger-xact-payee "ledger-xact" nil) +(declare-function ledger-read-account-with-prompt "ledger-mode" (prompt)) +(declare-function ledger-navigate-to-line "ledger-navigate" (line-number)) + (require 'easymenu) -(eval-when-compile - (require 'cl)) + +(defvar ledger-buf) (defgroup ledger-report nil "Customization option for the Report buffer" @@ -149,13 +154,13 @@ text that should replace the format specifier." "A mode for viewing ledger reports.") (defun ledger-report-tagname-format-specifier () - "Return a valid meta-data tag name" + "Return a valid meta-data tag name." ;; It is intended completion should be available on existing account ;; names, but it remains to be implemented. (ledger-read-string-with-default "Tag Name: " nil)) (defun ledger-report-tagvalue-format-specifier () - "Return a valid meta-data tag name" + "Return a valid meta-data tag name." ;; It is intended completion should be available on existing account ;; names, but it remains to be implemented. (ledger-read-string-with-default "Tag Value: " nil)) @@ -418,8 +423,8 @@ Optional EDIT the command." (customize-variable 'ledger-reports)) (defun ledger-report-edit-report () + "Edit the current report command in the mini buffer and re-run the report." (interactive) - "Edit the current report command in the mini buffer and re-run the report" (setq ledger-report-cmd (ledger-report-read-command ledger-report-cmd)) (ledger-report-redo)) |