mirror of
https://github.com/org-roam/org-roam
synced 2025-09-06 15:13:30 -05:00
(bugfix): fix Helm completing-read containing extra spaces on non-match (#309)
This commit is contained in:
@@ -613,10 +613,10 @@ specified via the #+ROAM_ALIAS property."
|
||||
(defun org-roam---helm-candidate-transformer (candidates _source)
|
||||
"Transforms CANDIDATES for Helm-based completing read.
|
||||
SOURCE is not used."
|
||||
(let ((prefixed-pattern (propertize
|
||||
" " 'display
|
||||
(propertize "[?]" 'face 'helm-ff-prefix))))
|
||||
(cons (concat prefixed-pattern " " helm-pattern)
|
||||
(let ((prefix (propertize "[?] "
|
||||
'face 'helm-ff-prefix)))
|
||||
(cons (propertize helm-pattern
|
||||
'display (concat prefix helm-pattern))
|
||||
candidates)))
|
||||
|
||||
(cl-defun org-roam--completing-read (prompt choices &key
|
||||
|
Reference in New Issue
Block a user