Skip to content

Commit

Permalink
correct function used
Browse files Browse the repository at this point in the history
  • Loading branch information
vkazanov committed Jun 4, 2024
1 parent 832221f commit d070a61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beancount.el
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ With an argument move to the previous non cleared transaction."
(lambda (string pred action)
(if (null candidates)
(setq candidates
(sort (beancount-collect regexp 1) #'string<)))
(sort (beancount-collect-unique regexp 1) #'string<)))
(complete-with-action action candidates string pred))))
(list (match-beginning 1) (match-end 1) completion-table)))

Expand All @@ -581,7 +581,7 @@ With an argument move to the previous non cleared transaction."
(lambda (string pred action)
(if (null candidates)
(setq candidates
(sort (beancount-collect regexp 1) #'string<)))
(sort (beancount-collect-unique regexp 1) #'string<)))
(complete-with-action action candidates string pred))))
(list (match-beginning 1) (match-end 1) completion-table))))))))

Expand Down

0 comments on commit d070a61

Please sign in to comment.