summaryrefslogtreecommitdiffstats
path: root/.emacs.d/slash_python.el
diff options
context:
space:
mode:
authorGravatar ryuslash2010-09-12 10:33:26 +0200
committerGravatar ryuslash2010-09-12 10:33:26 +0200
commit1ca854dbec0e879429c83b3da3d26dae1d852c00 (patch)
tree8ccc6cfeca5c6b97afdc94c312f55a064b1c047d /.emacs.d/slash_python.el
parent7c4787a7f477d92dfc58713e61abb42ed5844e87 (diff)
downloaddotfiles-1ca854dbec0e879429c83b3da3d26dae1d852c00.tar.gz
dotfiles-1ca854dbec0e879429c83b3da3d26dae1d852c00.zip
Removed old emacs files
Diffstat (limited to '.emacs.d/slash_python.el')
-rw-r--r--.emacs.d/slash_python.el17
1 files changed, 0 insertions, 17 deletions
diff --git a/.emacs.d/slash_python.el b/.emacs.d/slash_python.el
deleted file mode 100644
index 4cb2a72..0000000
--- a/.emacs.d/slash_python.el
+++ /dev/null
@@ -1,17 +0,0 @@
-;; Pyflakes
-(when (load "flymake" t)
- (defun flymake-pyflakes-init ()
- (let* ((temp-file (flymake-init-create-temp-buffer-copy
- 'flymake-create-temp-inplace))
- (local-file (file-relative-name
- temp-file
- (file-name-directory buffer-file-name))))
- (list "pyflakes" (list local-file))))
-
- (add-to-list 'flymake-allowed-file-name-masks
- '("\\.py\\'" flymake-pyflakes-init)))
-(add-hook 'find-file-hook 'flymake-find-file-hook)
-
-;; Bind RET to py-newline-and-indent
-(add-hook 'python-mode-hook '(lambda ()
- (define-key python-mode-map "\C-m" 'newline-and-indent))) \ No newline at end of file