summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPallav Agarwal <pallavagarwal07@gmail.com>2016-03-24 10:03:32 +0530
committerIan Delaney <idella4@gentoo.org>2016-03-24 19:16:00 +0800
commit4e9cb7c9731b742e28e4c4dd788b099544df4f60 (patch)
tree825f53db181a59fda5426cff7f977a01b9cc1993 /dev-python/cython/files
parentdev-perl/Wx: Maintainer stabilization. Current stable does not build with in-... (diff)
downloadgentoo-4e9cb7c9731b742e28e4c4dd788b099544df4f60.tar.gz
gentoo-4e9cb7c9731b742e28e4c4dd788b099544df4f60.tar.bz2
gentoo-4e9cb7c9731b742e28e4c4dd788b099544df4f60.zip
dev-python/cython: revbump -> vn. 0.23.4-r1
add emacs USE flag for installing cython-mode Ackd-by: idella4@gentoo.org Closes: https://github.com/gentoo/gentoo/pull/1119
Diffstat (limited to 'dev-python/cython/files')
-rw-r--r--dev-python/cython/files/50cython-gentoo.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/cython/files/50cython-gentoo.el b/dev-python/cython/files/50cython-gentoo.el
new file mode 100644
index 000000000000..e6dcc6a6d7fb
--- /dev/null
+++ b/dev-python/cython/files/50cython-gentoo.el
@@ -0,0 +1,11 @@
+;;; site-lisp configuration for cython-mode
+
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'cython-mode "cython-mode" "Major mode for editing Cython files" t)
+;;;###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))