Skip to content

Commit

Permalink
Remove spurious item in ledger-complete-at-point return value
Browse files Browse the repository at this point in the history
  • Loading branch information
bcc32 committed Apr 16, 2024
1 parent 87bf80a commit d25fd4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ledger-complete.el
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,7 @@ an alist (ACCOUNT-ELEMENT . NODE)."
(when delete-suffix
(delete-char delete-suffix))
(when (and realign-after ledger-post-auto-align)
(ledger-post-align-postings (line-beginning-position) (line-end-position))))
'ignore)))))
(ledger-post-align-postings (line-beginning-position) (line-end-position)))))))))

(defun ledger-trim-trailing-whitespace (str)
(replace-regexp-in-string "[ \t]*$" "" str))
Expand Down

0 comments on commit d25fd4b

Please sign in to comment.