summaryrefslogtreecommitdiff
path: root/lisp/ledger-state.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2016-01-11 19:34:32 -0700
committerCraig Earls <enderw88@gmail.com>2016-01-11 19:34:32 -0700
commit443b12921e1adb86ef9abc6ad380d12570e31f27 (patch)
tree12fcc92081534da9f49f19619c607484b7d124de /lisp/ledger-state.el
parentd24be7446dc77cbdd80db6a105ad3b7a8fd919aa (diff)
parentd50ac1722f9450d4963dbd044d555d31b3c44ed2 (diff)
downloadfork-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-state.el')
-rw-r--r--lisp/ledger-state.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ledger-state.el b/lisp/ledger-state.el
index 61a9375e..561df095 100644
--- a/lisp/ledger-state.el
+++ b/lisp/ledger-state.el
@@ -24,6 +24,8 @@
;; Utilities for dealing with transaction and posting status.
;;; Code:
+(declare-function ledger-navigate-find-xact-extents "ledger-navigate" (pos))
+(declare-function ledger-thing-at-point "ledger-context" ())
(defcustom ledger-clear-whole-transactions nil
"If non-nil, clear whole transactions, not individual postings."
@@ -67,7 +69,7 @@
(defun ledger-state-from-string (state-string)
- "Get state from STATE-CHAR."
+ "Get state from STATE-STRING."
(when state-string
(cond
((string-match "\\!" state-string) 'pending)