Added autoload cookies
authorIvan Andrus <darthandrus@gmail.com>
Sat, 29 Jun 2013 16:37:11 +0000 (10:37 -0600)
committerIvan Andrus <darthandrus@gmail.com>
Sun, 30 Jun 2013 03:39:46 +0000 (21:39 -0600)
Tools/cython-mode.el

index 92e6409..e0aa056 100644 (file)
@@ -8,11 +8,14 @@
 ;;; Code:
 
 ;; Load python-mode if available, otherwise use builtin emacs python package
-(when (not(require 'python-mode nil t))
+(when (not (require 'python-mode nil t))
   (require 'python))
 
+;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.pyx\\'" . cython-mode))
+;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.pxd\\'" . cython-mode))
+;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.pxi\\'" . cython-mode))
 
 
@@ -60,6 +63,7 @@
      1 font-lock-function-name-face))
   "Additional font lock keywords for Cython mode.")
 
+;;;###autoload
 (define-derived-mode cython-mode python-mode "Cython"
   "Major mode for Cython development, derived from Python mode.