update of packages

This commit is contained in:
2023-11-04 19:26:41 +01:00
parent e162a12b58
commit 3b54a3236d
726 changed files with 297673 additions and 34585 deletions

View File

@@ -37,12 +37,14 @@
(defcustom ledger-post-account-alignment-column 4
"The column Ledger-mode attempts to align accounts to."
:type 'integer
:group 'ledger-post)
:group 'ledger-post
:safe 'integerp)
(defcustom ledger-post-amount-alignment-column 52
"The column Ledger-mode attempts to align amounts to."
:type 'integer
:group 'ledger-post)
:group 'ledger-post
:safe 'integerp)
(defcustom ledger-post-amount-alignment-at :end
"Position at which the amount is aligned.
@@ -52,7 +54,8 @@ followed by unaligned commodity) or :decimal to align at the
decimal separator."
:type '(radio (const :tag "align at the end of amount" :end)
(const :tag "align at the decimal separator" :decimal))
:group 'ledger-post)
:group 'ledger-post
:safe (lambda (x) (memq x '(:end :decimal))))
(defcustom ledger-post-auto-align t
"When non-nil, realign post amounts when indenting or completing."
@@ -158,7 +161,7 @@ regular text."
(t (call-interactively 'ledger-post-align-xact))))
(defun ledger-post-edit-amount ()
"Call 'calc-mode' and push the amount in the posting to the top of stack."
"Call `calc-mode' and push the amount in the posting to the top of stack."
(interactive)
(goto-char (line-beginning-position))
(when (re-search-forward ledger-post-line-regexp (line-end-position) t)