Skip to content
This repository has been archived by the owner on Apr 11, 2021. It is now read-only.

Add autoload cookies #5

Merged
merged 1 commit into from
Aug 18, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions autopair.el
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ For now, simply returns `last-command-event'"


;; minor mode and global mode ;; minor mode and global mode
;; ;;
;;;###autoload
(define-globalized-minor-mode autopair-global-mode autopair-mode autopair-on) (define-globalized-minor-mode autopair-global-mode autopair-mode autopair-on)


(when (>= emacs-major-version 24) (when (>= emacs-major-version 24)
Expand Down Expand Up @@ -369,6 +370,7 @@ We want this advice to only kick in the *second* call to
autopair-dont-activate) autopair-dont-activate)
(autopair-mode 1)))) (autopair-mode 1))))


;;;###autoload
(define-minor-mode autopair-mode (define-minor-mode autopair-mode
"Automagically pair braces and quotes like in TextMate." "Automagically pair braces and quotes like in TextMate."
nil " pair" nil nil " pair" nil
Expand Down