           update-callback
           ))
 
-       (defvar ,backend-name
-         '(("name" . ,name)
-           ("search" . ,search-function)
-           ("do" . ,candiate-do)
-           )))))
+       (defvar ,backend-name nil)
+
+       (setq ,backend-name
+             '(("name" . ,name)
+               ("search" . ,search-function)
+               ("do" . ,candiate-do)
+               )
+             ))))
 
 (provide 'snails-core)
 

;; 2019/07/22
;;      * Delete other window first, make sure only one window in frame.
;;      * Finish `snails-select-next-backend' and `snails-select-prev-backend'
;;
;; 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.5
;; Last-Updated: 2019-07-22 08:14:25
;;           By: Andy Stewart
;; URL: http://www.emacswiki.org/emacs/download/snails.el
;; Keywords:
