Browse files

Add autoload cookies

  • Loading branch information...
1 parent 9ec0ded commit c5b6f010f90d614b0e0477dd34359b5941677cd8 @dsedivec dsedivec committed Aug 18, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 autopair.el
View
2 autopair.el
@@ -331,6 +331,7 @@ For now, simply returns `last-command-event'"
;; minor mode and global mode
;;
+;;;###autoload
(define-globalized-minor-mode autopair-global-mode autopair-mode autopair-on)
(when (>= emacs-major-version 24)
@@ -369,6 +370,7 @@ We want this advice to only kick in the *second* call to
autopair-dont-activate)
(autopair-mode 1))))
+;;;###autoload
(define-minor-mode autopair-mode
"Automagically pair braces and quotes like in TextMate."
nil " pair" nil

0 comments on commit c5b6f01

Please sign in to comment.