Skip to content

Commit

Permalink
;doc:D: clarify scope [#2191]
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Apr 1, 2024
1 parent 89d6f4a commit d97bf38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hledger/hledger.m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -2629,7 +2629,7 @@ Downsides: another syntax to learn, redundant with hledger's
This directive sets a default commodity, to be used for any
subsequent commodityless amounts (ie, plain numbers) seen while
parsing the journal. This effect lasts until the next `D` directive,
or the end of the journal.
or the end of the current file.

For compatibility/historical reasons, `D` also acts like a [`commodity` directive](#commodity-directive)
(setting the commodity's decimal mark for parsing and [display style](#amount-display-format) for output).
Expand Down

0 comments on commit d97bf38

Please sign in to comment.