Move some emacs support tools.
authorWilliam Stein <wstein@gmail.com>
Sat, 28 Jul 2007 20:53:00 +0000 (13:53 -0700)
committerWilliam Stein <wstein@gmail.com>
Sat, 28 Jul 2007 20:53:00 +0000 (13:53 -0700)
Tools/cython-mode.el [new file with mode: 0644]
Tools/cython.st [moved from Tools/pyrex.st with 100% similarity]
Tools/pyrex-mode.el [deleted file]

diff --git a/Tools/cython-mode.el b/Tools/cython-mode.el
new file mode 100644 (file)
index 0000000..ae1af7f
--- /dev/null
@@ -0,0 +1 @@
+;;;; `Cython' mode.\r\r(add-to-list 'auto-mode-alist '("\\.pyx\\'" . cython-mode))\r\r(define-derived-mode cython-mode python-mode "Cython"\r  (font-lock-add-keywords\r   nil\r   `((,(concat "\\<\\(NULL"\r         "\\|c\\(def\\|har\\|typedef\\)"\r        "\\|e\\(num\\|xtern\\)"\r        "\\|float"\r             "\\|in\\(clude\\|t\\)"\r         "\\|object\\|public\\|struct\\|type\\|union\\|void"\r            "\\)\\>")\r      1 font-lock-keyword-face t))))\r
\ No newline at end of file
similarity index 100%
rename from Tools/pyrex.st
rename to Tools/cython.st
diff --git a/Tools/pyrex-mode.el b/Tools/pyrex-mode.el
deleted file mode 100644 (file)
index 1493a9d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-;;;; `Pyrex' mode.\r\r(add-to-list 'auto-mode-alist '("\\.pyx\\'" . pyrex-mode))\r\r(define-derived-mode pyrex-mode python-mode "Pyrex"\r  (font-lock-add-keywords\r   nil\r   `((,(concat "\\<\\(NULL"\r             "\\|c\\(def\\|har\\|typedef\\)"\r        "\\|e\\(num\\|xtern\\)"\r        "\\|float"\r             "\\|in\\(clude\\|t\\)"\r         "\\|object\\|public\\|struct\\|type\\|union\\|void"\r            "\\)\\>")\r      1 font-lock-keyword-face t))))\r
\ No newline at end of file