summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatus Goljer <matus.goljer@gmail.com>2015-09-19 13:58:16 +0200
committerMatus Goljer <matus.goljer@gmail.com>2015-09-19 13:58:16 +0200
commit1995a7e0ac748f6709e5051780468361bfee654d (patch)
treea247ec1ae24ccd16b01658e5b500ee53bd26a01f /lisp
parente6a2579f349d7935657d20344115bb6903ea707d (diff)
downloadfork-ledger-1995a7e0ac748f6709e5051780468361bfee654d.tar.gz
fork-ledger-1995a7e0ac748f6709e5051780468361bfee654d.tar.bz2
fork-ledger-1995a7e0ac748f6709e5051780468361bfee654d.zip
Bind M-q to ledger-post-align-dwim.
There is very little reason to have M-q bound to fill-paragraph in ledger, so let's use it for aligning instead.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ledger-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ledger-mode.el b/lisp/ledger-mode.el
index f2eb4b21..30f25dfc 100644
--- a/lisp/ledger-mode.el
+++ b/lisp/ledger-mode.el
@@ -285,6 +285,7 @@ With a prefix argument, remove the effective date."
(define-key map [(meta ?p)] 'ledger-navigate-prev-xact-or-directive)
(define-key map [(meta ?n)] 'ledger-navigate-next-xact-or-directive)
+ (define-key map [(meta ?q)] 'ledger-post-align-dwim)
map)
"Keymap for `ledger-mode'.")