Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add autoload cookies #5

Merged
merged 1 commit into from

2 participants

@dsedivec

I added autoload cookies to autopair-mode and autopair-global-mode. This way I can automatically generate the (autoload) forms for autopair, and avoid loading autopair until I actually need it.

Thanks for autopair!

@capitaomorte capitaomorte merged commit 1d128ef into capitaomorte:master
@capitaomorte

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 18, 2012
  1. @dsedivec

    Add autoload cookies

    dsedivec authored
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.