summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-04-01 10:15:48 -0700
committerCraig Earls <enderw88@gmail.com>2013-04-01 10:15:48 -0700
commit62996f9366fc582f0e2cebe8d88aea9095629239 (patch)
tree30f7283f1b8e1ccda96c822cf5ccade6e25b5415 /lisp
parent9fc1f512b52e36402a3e913b495b1adc283f6073 (diff)
downloadfork-ledger-62996f9366fc582f0e2cebe8d88aea9095629239.tar.gz
fork-ledger-62996f9366fc582f0e2cebe8d88aea9095629239.tar.bz2
fork-ledger-62996f9366fc582f0e2cebe8d88aea9095629239.zip
Make 'return' visit source in reports, make Visit Source the entry in reconcile mode.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ldg-reconcile.el2
-rw-r--r--lisp/ldg-report.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ldg-reconcile.el b/lisp/ldg-reconcile.el
index 5a6a117a..bec6d175 100644
--- a/lisp/ldg-reconcile.el
+++ b/lisp/ldg-reconcile.el
@@ -434,7 +434,7 @@ moved and recentered. If they aren't strange things happen."
(define-key map [menu-bar ldg-recon-menu qui] '("Quit" . ledger-reconcile-quit))
(define-key map [menu-bar ldg-recon-menu sep1] '("--"))
(define-key map [menu-bar ldg-recon-menu pre] '("Previous Entry" . previous-line))
- (define-key map [menu-bar ldg-recon-menu vis] '("Visit Entry" . ledger-reconcile-visit))
+ (define-key map [menu-bar ldg-recon-menu vis] '("Visit Source" . ledger-reconcile-visit))
(define-key map [menu-bar ldg-recon-menu nex] '("Next Entry" . next-line))
(define-key map [menu-bar ldg-recon-menu sep2] '("--"))
(define-key map [menu-bar ldg-recon-menu del] '("Delete Entry" . ledger-reconcile-delete))
diff --git a/lisp/ldg-report.el b/lisp/ldg-report.el
index 04c182dd..3225d803 100644
--- a/lisp/ldg-report.el
+++ b/lisp/ldg-report.el
@@ -103,7 +103,7 @@ text that should replace the format specifier."
'ledger-report-kill)
(define-key map [(control ?c) (control ?l) (control ?e)]
'ledger-report-edit)
- (define-key map [(control ?c) (control ?c)] 'ledger-report-visit-source)
+ (define-key map [return] 'ledger-report-visit-source)
(define-key map [menu-bar] (make-sparse-keymap "ldg-rep"))