From 999ca10c35dee3f915c17b335387a661bbefea94 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 2 Aug 2024 19:15:49 +0200 Subject: [PATCH] (cobra-read-command-line): Fix handling of cons INITIAL arg --- cobra.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobra.el b/cobra.el index 1fdbabe..b74256b 100644 --- a/cobra.el +++ b/cobra.el @@ -128,7 +128,7 @@ Perform completion action A on string S with predicate P." Optional argument HIST is the name of the history list variable to use, if it is nil or omitted, it defaults to `shell-command-history'." - (let ((exec (car (split-string-and-unquote initial)))) + (let ((exec (car (split-string-and-unquote (car (ensure-list initial)))))) (minibuffer-with-setup-hook (:append (lambda () (let ((map (make-sparse-keymap))) -- 2.39.2