~kisaragi_hiu/yasearch

9cf6706081140b09817bffd0cd4a9f12d1f56367 — Kisaragi Hiu 4 years ago 23c843f
fix: prescient does not want symbol keys, convert them to strings
1 files changed, 4 insertions(+), 1 deletions(-)

M yasearch.el
M yasearch.el => yasearch.el +4 -1
@@ 54,7 54,10 @@
  "Prompt the user to choose an engine defined in `yasearch-engine-alist'."
  (interactive)
  (intern-soft
   (completing-read "Engine: " yasearch-engine-alist)))
   (completing-read "Engine: "
                    (mapcar (lambda (engine) (cons (symbol-name (car engine))
                                                   (cdr engine)))
                            yasearch-engine-alist))))

;;;###autoload
(defun yasearch (engine query)