From 7c16399fd3a78d11d3599a0233372e6695d32003 Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Fri, 24 Sep 2021 08:59:46 -0400 Subject: [PATCH] Update ivy-bibtex.el There is a bug in `ivy-bibtex-display-transformer` that causes marking candidates to stop working. The issue is the space that gets inserted. It should be an empty space. --- ivy-bibtex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivy-bibtex.el b/ivy-bibtex.el index 0581949..47cfd03 100644 --- a/ivy-bibtex.el +++ b/ivy-bibtex.el @@ -105,7 +105,7 @@ (let* ((width (- (frame-width) 2)) (idx (get-text-property 1 'idx candidate)) (entry (cdr (nth idx (ivy-state-collection ivy-last))))) - (s-concat (if (s-starts-with-p ivy-mark-prefix candidate) ivy-mark-prefix " ") + (s-concat (if (s-starts-with-p ivy-mark-prefix candidate) ivy-mark-prefix "") (bibtex-completion-format-entry entry width)))) (defmacro ivy-bibtex-ivify-action (action name)