diff --git a/NEWS b/NEWS index 3176676b..e1845bb8 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,8 @@ Very few new features: - Added --no-cache option, to always ignore any binary cache file - `ledger-reconcile' (in ledger.el) no longer asks for a number of days - Fixed %.XY format, where X is shorter than the string generated by Y +- New directive for text files: "D " specifies the default commodity + used by the entry command * 2.0 diff --git a/ledger.texi b/ledger.texi index e7f064b5..9ba41e1e 100644 --- a/ledger.texi +++ b/ledger.texi @@ -2343,6 +2343,14 @@ defaults to @file{~/.pricedb}. The syntax for this command is: N SYMBOL @end example +@item D SYMBOL +The @command{entry} command will use the given commodity as the +default when none other can be determined. The syntax for this +command is: +@example +D SYMBOL +@end example + @item i, o, b, h These four relate to timeclock support, which permits ledger to read timelog files. See the timeclock's documentation for more info on the