diff options
author | Steve Purcell <steve@sanityinc.com> | 2014-12-10 09:17:32 +0000 |
---|---|---|
committer | Steve Purcell <steve@sanityinc.com> | 2014-12-10 09:17:32 +0000 |
commit | 637679c0cb14523b36ce41f615e144580e2d7d96 (patch) | |
tree | c58cd83b93af1e5e4c52bee12dbd5ac5d465e209 /lisp/ledger-xact.el | |
parent | 233ece62cd56d1c3ea628302b4916ef7ff1c75f8 (diff) | |
download | ledger-637679c0cb14523b36ce41f615e144580e2d7d96.tar.gz ledger-637679c0cb14523b36ce41f615e144580e2d7d96.tar.bz2 ledger-637679c0cb14523b36ce41f615e144580e2d7d96.zip |
[emacs] Fix more byte compilation and other layout issues
Diffstat (limited to 'lisp/ledger-xact.el')
-rw-r--r-- | lisp/ledger-xact.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ledger-xact.el b/lisp/ledger-xact.el index 6df5b60b..29f6f4f0 100644 --- a/lisp/ledger-xact.el +++ b/lisp/ledger-xact.el @@ -25,6 +25,11 @@ ;;; Code: +(require 'eshell) +(require 'ledger-regex) +(require 'ledger-navigate) +;; TODO: This file depends on code in ledger-mode.el, which depends on this. + (defcustom ledger-highlight-xact-under-point t "If t highlight xact under point." :type 'boolean @@ -142,7 +147,7 @@ MOMENT is an encoded date" (goto-char (match-beginning 0))))) (defun ledger-delete-current-transaction (pos) - "Delete the transaction surrounging point." + "Delete the transaction surrounging POS." (interactive "d") (let ((bounds (ledger-navigate-find-xact-extents pos))) (delete-region (car bounds) (cadr bounds)))) |