Commit graph

11 commits

Author SHA1 Message Date
Matus Goljer
612656b1d8 Add function to read commodity from the user.
The function provides completing read with all available commodities as
gathered by "ledger commodities".
2015-10-01 20:38:44 +02:00
thdox
8162cc783d [emacs] C-x h M-x untabify RET
C-x h M-x indent-region RET

[ci skip]
2015-02-10 21:42:50 +01:00
Alexis Hildebrandt
1dd9dcaab4 Bump copyright notice to 2015
The following script makes it a no-brainer:
% NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \
  | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
2014-12-27 11:24:55 +01:00
Craig Earls
3988de14bb Cleaned up commodities and completion code. 2014-11-30 19:47:14 -07:00
thdox
d2db0f9102 Indent & untabify
M-x mark-whole-buffer
M-x indent-region
M-x mark-whole-buffer
M-x untabify
2014-05-17 16:52:06 +02:00
Jamie Nguyen
33ce4a76a1 Update old FSF address 2014-03-23 23:42:21 +00:00
Alexis Hildebrandt
2b9208e850 Bump copyright information to 2014 2014-02-02 12:36:22 +01:00
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
Steve Purcell
ccaaf7e235 ledger-mode: Fix a number of byte-compilation warnings 2013-12-11 08:36:22 +00:00
Craig Earls
0d4641acc2 Merge branch 'master' into ledger-mode-automatic-transactions
Conflicts:
	lisp/ledger-init.el
	lisp/ledger-mode.el
	lisp/ledger-reconcile.el
	lisp/ledger-schedule.el
2013-07-02 15:50:32 -07:00
Craig Earls
63ba45dbaa Finished changing name to ledger-*
All files and references changed ldg-* to ledger-*
2013-07-02 15:37:33 -07:00
Renamed from lisp/ldg-commodities.el (Browse further)