Skip to content

Commit

Permalink
Merge pull request #396 from parkouss/patch-1
Browse files Browse the repository at this point in the history
Fix ledger auto report width
  • Loading branch information
purcell authored Jan 17, 2024
2 parents b1a8293 + 80643e6 commit 11e748d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger-report.el
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ MONTH is of the form (YEAR . INDEX) where INDEX ranges from
`(,@(when (ledger-report--cmd-needs-links-p report-cmd)
'("--prepend-format=%(filename):%(beg_line):"))
,@(when ledger-report-auto-width
`("--columns" ,(format "%d" (- (window-width) 1))))
`("--columns" ,(format "%d" (window-max-chars-per-line))))
,@(when ledger-report-use-native-highlighting
ledger-report-native-highlighting-arguments)
,@(when ledger-report-use-strict
Expand Down

0 comments on commit 11e748d

Please sign in to comment.