summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorPeter Feigl <peter.feigl@jku.at>2015-02-05 10:46:16 +0100
committerPeter Feigl <peter.feigl@jku.at>2015-02-05 10:46:16 +0100
commita5ac84bee0bb45927dcd3931c356690e9fde4903 (patch)
tree18f5c4e1034396624701d5e58a34eeb635a401ef /lisp
parent04ed74a261ccb859cd0e6c4f2631d77dc017a69e (diff)
downloadfork-ledger-a5ac84bee0bb45927dcd3931c356690e9fde4903.tar.gz
fork-ledger-a5ac84bee0bb45927dcd3931c356690e9fde4903.tar.bz2
fork-ledger-a5ac84bee0bb45927dcd3931c356690e9fde4903.zip
cleaning up elisp byte compiler warnings
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ledger-reconcile.el15
-rw-r--r--lisp/ledger-xact.el4
2 files changed, 18 insertions, 1 deletions
diff --git a/lisp/ledger-reconcile.el b/lisp/ledger-reconcile.el
index 4dad0baf..b76700b0 100644
--- a/lisp/ledger-reconcile.el
+++ b/lisp/ledger-reconcile.el
@@ -35,7 +35,20 @@
(defvar ledger-acct nil)
(defvar ledger-target nil)
(defvar ledger-clear-whole-transactions)
-
+(declare-function ledger-exec-ledger "ledger-exec" (input-buffer &optional output-buffer &rest args))
+(declare-function ledger-split-commodity-string "ledger-commodities" (str))
+(declare-function ledger-commodity-to-string "ledger-commodities" (c1))
+(declare-function -commodity "ledger-commodities" (c1 c2))
+(declare-function ledger-navigate-to-line "ledger-navigate" (line-number))
+(declare-function ledger-toggle-current "ledger-state" (&optional style))
+(declare-function ledger-insert-effective-date "ledger-mode" (&optional date))
+(declare-function ledger-add-transaction "ledger-xact" (transaction-text &optional insert-at-point))
+(declare-function ledger-delete-current-transaction "ledger-xact" (pos))
+(declare-function ledger-highlight-xact-under-point "ledger-xact" nil)
+(declare-function ledger-occur-mode "ledger-occur")
+(declare-function ledger-read-account-with-prompt "ledger-mode" (prompt))
+(declare-function ledger-occur "ledger-occur" (regex))
+(declare-function ledger-read-commodity-string "ledger-commodities" (prompt))
(defgroup ledger-reconcile nil
"Options for Ledger-mode reconciliation"
:group 'ledger)
diff --git a/lisp/ledger-xact.el b/lisp/ledger-xact.el
index 8e89d714..849a9128 100644
--- a/lisp/ledger-xact.el
+++ b/lisp/ledger-xact.el
@@ -31,6 +31,10 @@
(defvar ledger-year)
(defvar ledger-month)
+(declare-function ledger-read-date "ledger-mode" (prompt))
+(declare-function ledger-next-amount "ledger-post" (&optional end))
+(declare-function ledger-exec-ledger "ledger-exec" (input-buffer &optional output-buffer &rest args))
+(declare-function ledger-post-align-postings "ledger-post" (&optional beg end))
;; TODO: This file depends on code in ledger-mode.el, which depends on this.