branch: externals/ivy
commit e0e0520ab351d965a6510cdb2f6977dd5967703d
Author: Basil L. Contovounesios <conto...@tcd.ie>
Commit: Basil L. Contovounesios <conto...@tcd.ie>

    Fix counsel-search-engines-alist custom :type
    
    * counsel.el (counsel-search-engines-alist): Fix :type to pacify
    'without type specs' byte-compiler warning.
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 6e140f6c56..5ff677c9cf 100644
--- a/counsel.el
+++ b/counsel.el
@@ -6872,7 +6872,7 @@ Additional actions:\\<ivy-minibuffer-map>
      "https://duckduckgo.com/html/?q=";
      counsel--search-request-data-ddg))
   "Search engine parameters for `counsel-search'."
-  :type '(list))
+  :type '(alist :key-type symbol :value-type (list string string function)))
 
 (defun counsel--search-request-data-google (data)
   (mapcar #'identity (aref data 1)))

Reply via email to