We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deec619 commit f17db95Copy full SHA for f17db95
consult.el
@@ -2273,8 +2273,8 @@ See `completing-read-multiple' for the documentation of the arguments."
2273
"" ;; default
2274
inherit-input-method)))
2275
(unless (or (equal result "") selected)
2276
- (setq selected (split-string result separator 'omit-nulls)
2277
- consult--crm-history (cons result hist-val)))))
+ (setq selected (split-string (substring-no-properties result) separator 'omit-nulls)
+ consult--crm-history (append selected hist-val)))))
2278
(remove-hook 'pre-command-hook hook)))
2279
(set hist-sym consult--crm-history)
2280
(when (consp def)
0 commit comments