 ;; 2019/07/22
 ;;      * Delete other window first, make sure only one window in frame.
 ;;      * Finish `snails-select-next-backend' and `snails-select-prev-backend'
+;;      * Use setq in macro, we can update backend code later.
 ;;
 ;; 2019/07/20
 ;;      * Finish document.

;; Maintainer: Andy Stewart <lazycat.manatee@gmail.com>
;; Copyright (C) 2019, Andy Stewart, all rights reserved.
;; Created: 2019-05-16 21:26:09
;; Version: 0.4
;; Last-Updated: 2019-07-22 06:38:36
;;           By: Andy Stewart
;; URL: http://www.emacswiki.org/emacs/download/snails.el
;; Keywords:

          input-ticker
          (funcall ,candidate-filter input)))

       (defvar ,backend-name nil)

       (setq ,backend-name
             '(("name" . ,name)
               ("search" . ,search-function)
               ("do" . ,candiate-do)
               )
             ))))

(defmacro* snails-create-async-backend (&rest args &key name build-command candidate-filter candiate-do)
  "Macro to create sync backend code.
