Commit 367e0740 authored by Ivan Andrus's avatar Ivan Andrus

Added autoload cookies

parent b26cd2b9
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment