summaryrefslogtreecommitdiff
path: root/lisp/ledger-exec.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ledger-exec.el')
-rw-r--r--lisp/ledger-exec.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/ledger-exec.el b/lisp/ledger-exec.el
index 95b28ec2..1cb6b991 100644
--- a/lisp/ledger-exec.el
+++ b/lisp/ledger-exec.el
@@ -97,11 +97,10 @@
(defun ledger-check-version ()
"Verify that ledger works and is modern enough."
(interactive)
- (if ledger-mode-should-check-version
- (if (setq ledger-works (ledger-version-greater-p ledger-version-needed))
- (message "Good Ledger Version")
- (message "Bad Ledger Version"))
- setq ledger-works t))
+ (if ledger-mode-should-check-version
+ (if (setq ledger-works (ledger-version-greater-p ledger-version-needed))
+ (message "Good Ledger Version")
+ (message "Bad Ledger Version"))))
(provide 'ledger-exec)