Permalink
Browse files

Merge pull request #5 from dsedivec/master

Enhancement: add autoload cookies
  • Loading branch information...
2 parents 9ec0ded + c5b6f01 commit 1d128efca143db21eaadefa56e1da92529cafbcd @joaotavora committed Aug 18, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 autopair.el
View
@@ -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 1d128ef

Please sign in to comment.