   (setq major-mode 'snails-mode)
   (setq mode-name "snails")
   ;; Injection keymap.
-  (use-local-map snails-mode-map))
+  (use-local-map snails-mode-map)
+  (run-hooks 'snails-mode-hook))
 
 (defun snails (&optional backends search-symbol)
   "Start snails to search."

;;

;;; Change log:
;;
;; 2019/07/28
;;      * Optimize performance: fixed rendering every 100 milliseconds, instead of rendering once backend return candidates, avoiding rendering computation waste.

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