ledger/lisp
Moritz Ulrich c0812b91bf Fix `ledger-string-to-number' for decimal-comma
--=-=-=
Content-Type: text/plain

Hi John,

Small bug, caused by ill-formatted elisp. This is a small patch, so i
think making a fork & opening a Pull Request is a bit too much. I'll go
this route if I make bigger contributions in the future.

From de1fb19ded5300a227d58e3d3094928b211db09b Mon Sep 17 00:00:00 2001
From: Moritz Ulrich <moritz@tarn-vedra.de>
Date: Sat, 28 Dec 2013 22:37:54 +0100
Subject: [PATCH] ledger-string-to-number: Fix nil return value with
 decimal-comma.

Unfavorable formatting hid this bug pretty well. In case of true-ish
`decimal-comma' or "decimal-comma' in `ledger-environment-alist', the
ill-formatted `if' (and the whole function) returns nil.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-12-28 18:11:25 -06:00
..
CMakeLists.txt Update CMakeLists.txt 2013-08-21 09:29:40 -04:00
ledger-commodities.el Fix `ledger-string-to-number' for decimal-comma 2013-12-28 18:11:25 -06:00
ledger-complete.el ledger-mode: Fix a number of byte-compilation warnings 2013-12-11 08:36:22 +00:00
ledger-context.el fix for unexpected point movement 2013-12-23 14:06:20 +01:00
ledger-exec.el ledger-mode: Fix a number of byte-compilation warnings 2013-12-11 08:36:22 +00:00
ledger-fonts.el Finished changing name to ledger-* 2013-07-02 15:37:33 -07:00
ledger-init.el Reload init when calling ledger-init-load-init-file again. 2013-11-26 13:19:38 +01:00
ledger-mode.el ledger-mode: Remove duplication in ledger-set-{year,month} 2013-12-11 08:36:22 +00:00
ledger-occur.el Merge branch 'master' into ledger-mode-automatic-transactions 2013-07-02 15:50:32 -07:00
ledger-post.el Merge branch 'ledger-mode-automatic-transactions' 2013-11-12 09:24:29 -07:00
ledger-reconcile.el ledger-mode: Add missing argument to ledger-delete-current-transaction 2013-12-11 08:36:22 +00:00
ledger-regex.el Merge branch 'master' into ledger-mode-automatic-transactions 2013-07-02 15:50:32 -07:00
ledger-report.el ledger-mode: Also bind g to ledger-report-redo, as is standard elsewhere 2013-12-11 19:08:56 +00:00
ledger-schedule.el ledger-schedule-upcoming take argument. 2013-12-12 18:56:16 +01:00
ledger-sort.el Merge branch 'master' into ledger-mode-automatic-transactions 2013-07-02 15:50:32 -07:00
ledger-state.el Finished changing name to ledger-* 2013-07-02 15:37:33 -07:00
ledger-test.el Finished changing name to ledger-* 2013-07-02 15:37:33 -07:00
ledger-texi.el Finished changing name to ledger-* 2013-07-02 15:37:33 -07:00
ledger-xact.el ledger-mode: Add namespace prefix to highlight-overlay 2013-12-11 08:36:22 +00:00