 ;; ------------------------------
 ;;
 ;;
+;; ===============
+;; Stop completion
+;; ===============
+;;
+;; Add following code to your .emacs.
+;;
+;; ------------------------------
+;; (define-key ac-complete-mode-map "\M-/" 'ac-stop)
+;; ------------------------------
+;;
+;; Now you can stop completion by pressing M-/.
+;;
+;;
 ;; =================
 ;; Completion by TAB
 ;; =================

  :type 'boolean
  :group 'auto-complete)

(defface ac-menu-face
  '((t (:background "lightgray" :foreground "black")))
  "Face for candidate menu."

    (ac-abort)))

(defun ac-abort ()
  "Abort completion."
  (ac-cleanup))

(defun ac-stop ()
  "Stop completiong."
  (interactive)
  (ac-abort))

(defun ac-redraw-candidates ()
  "Redraw the menu contents."
