-
Notifications
You must be signed in to change notification settings - Fork 0
/
cython-mode.elc
36 lines (30 loc) · 4.02 KB
/
cython-mode.elc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;ELC
;;; Compiled by [email protected] on Sat Dec 25 13:35:37 2010
;;; from file /Users/oceanhug/.emacs.d/cython-mode.el
;;; in Emacs version 22.3.1
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
(if (and (boundp 'emacs-version)
(< (aref emacs-version (1- (length emacs-version))) ?A)
(or (and (boundp 'epoch::version) epoch::version)
(string-lessp emacs-version "19.29")))
(error "`cython-mode.el' was compiled for Emacs 19.29 or later"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301!\210\302\303\304\"\210\302\303\305\"\210\302\303\306\"\207" [require python-mode add-to-list auto-mode-alist ("\\.pyx\\'" . cython-mode) ("\\.pxd\\'" . cython-mode) ("\\.pxi\\'" . cython-mode)] 3)
#@30 Compile the file via Cython.
(defalias 'cython-compile #[nil "pr\303 !q\210\304\302!\210\305\304\306!\307\"*\207" [cy-buffer compile-command cython-buffer compile make-local-variable add-to-list compilation-finish-functions cython-compilation-finish] 3 (#$ . 800) nil])
#@42 Called when Cython compilation finishes.
(defalias 'cython-compilation-finish #[(buffer how) "\300\207" ["Called when Cython compilation finishes."] 1 (#$ . 1079)])
#@31 Keymap used in `cython-mode'.
(defvar cython-mode-map (byte-code "\301 \302\303\304#\210)\207" [map make-sparse-keymap define-key "" cython-compile] 4) (#$ . 1250))
#@48 Additional font lock keywords for Cython mode.
(defvar cython-font-lock-keywords (byte-code "\300\301B\302\303B\304BB\207" ["\\<\\(DEF\\|EL\\(?:IF\\|SE\\)\\|IF\\|by\\|c\\(?:def\\|import\\|\\(?:p\\|type\\)def\\)\\|e\\(?:num\\|x\\(?:cept\\?\\|tern\\)\\)\\|gil\\|include\\|nogil\\|p\\(?:roperty\\|ublic\\)\\|readonly\\|struct\\|union\\)\\>" (1 font-lock-keyword-face) "\\<\\(NULL\\|Py_ssize_t\\|bint\\|char\\|d\\(?:ict\\|ouble\\)\\|float\\|int\\|l\\(?:ist\\|ong\\)\\|object\\|s\\(?:\\(?:hor\\|ize_\\)t\\)\\|void\\)\\>" (1 font-lock-builtin-face) (("\\<\\(?:struct\\|enum\\)[ ]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)" 1 py-class-name-face) ("\\<property[ ]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)" 1 font-lock-function-name-face))] 3) (#$ . 1426))
(byte-code "\302\303N\204\f \304\302\303\305#\210\306\307!\204 \304\307\310\311#\210\307B\312\307!\204( \313\307\314 \"\210\306\315!\2044 \304\315\310\311#\210\315B\312\315!\204D \313\315\316 \"\210\304\301\310\311#\210\301B\312\301!\204^ \313\301\317\301\320\"\210 \"\210\304\311\321\322#\207" [current-load-list cython-mode-abbrev-table cython-mode-hook variable-documentation put "Hook run when entering Cython mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp cython-mode-map definition-name cython-mode default-boundp set-default make-sparse-keymap cython-mode-syntax-table make-syntax-table define-abbrev-table nil derived-mode-parent python-mode] 5)
#@239 Major mode for Cython development, derived from Python mode.
\{cython-mode-map}
In addition to any hooks its parent mode `python-mode' might have run,
this mode runs the hook `cython-mode-hook', as the final step
during initialization.
(defalias 'cython-mode #[nil "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204'