summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-03-18 11:13:54 -0700
committerCraig Earls <enderw88@gmail.com>2013-03-18 11:13:54 -0700
commit8d73979abf87e3910bd040fb4b549b7d4c98a8c2 (patch)
tree11f371bd27a7d5bbc5daf6580047ce79c9d99486
parentea72ac29eadad36d2b9e37a168127cff76f2880a (diff)
downloadfork-ledger-8d73979abf87e3910bd040fb4b549b7d4c98a8c2.tar.gz
fork-ledger-8d73979abf87e3910bd040fb4b549b7d4c98a8c2.tar.bz2
fork-ledger-8d73979abf87e3910bd040fb4b549b7d4c98a8c2.zip
Updated ledger-mode-dump-variables
-rw-r--r--lisp/ldg-new.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/ldg-new.el b/lisp/ldg-new.el
index a9c70ff4..c42e2ef8 100644
--- a/lisp/ldg-new.el
+++ b/lisp/ldg-new.el
@@ -92,7 +92,8 @@
(forward-line 1))))))
(defun ledger-dump-variable (var)
- (insert (format "%s: %S\n" (symbol-name var) (eval var))))
+ (if var
+ (insert (format "%s: %S\n" (symbol-name var) (eval var)))))
(defun ledger-mode-dump-variables ()
(interactive)
@@ -103,7 +104,6 @@
(insert "Emacs: " (version) "\n")
(insert "System Configuration: "system-configuration "\n")
(insert "ldg-commodities:\n")
- (ledger-dump-variable 'ledger-use-decimal-comma)
(ledger-dump-variable 'ledger-reconcile-default-commodity)
(insert "ldg-exec:\n")
(ledger-dump-variable 'ledger-works)
@@ -114,10 +114,10 @@
(ledger-dump-variable 'ledger-occur-history)
(ledger-dump-variable 'ledger-occur-last-match)
(insert "ldg-post:\n")
- (ledger-dump-variable 'ledger-post-auto-adjust-amounts)
+ (ledger-dump-variable 'ledger-post-auto-adjust-postings)
+ (ledger-dump-variable 'ledger-post-account-alignment-column)
(ledger-dump-variable 'ledger-post-amount-alignment-column)
- (ledger-dump-variable 'ledger-post-use-iswitchb)
- (ledger-dump-variable 'ledger-post-use-ido)
+ (ledger-dump-variable 'ledger-post-use-completion-engine)
(insert "ldg-reconcile:\n")
(ledger-dump-variable 'ledger-recon-buffer-name)
(ledger-dump-variable 'ledger-fold-on-reconcile)