| commit 10: | 2478ee9ec8d9 |
| parent 9: | 03fbfb437d2e |
| branch: | default |
commented out pyflakes stuff for now; just causes problems
- View Josh's profile
-
Josh's public repos »
- django-invitation
- django-openid-auth
- django-piston
- django-draper
- django-vcs
- textmate-mode
- pyvcs
- django-cumulus
- django-twitter-oauth
- django-syncr
- django-linktag
- emacs
- oh-my-zsh
- django-twitter-backend
- Mercurial for ZSH
- python-twitter
- Adamanteus
- django-twitter
- django-storages
- Django-Piston Presentation
- oauth-python-twitter
- Django-Forerscope
- Send message
7 months ago
Changed (Δ108 bytes):
raw changeset »
init.el (14 lines added, 11 lines removed)
27 |
27 |
(define-key global-map (kbd "RET") 'newline-and-indent) |
28 |
28 |
|
29 |
29 |
;; pyflakes |
30 |
(when (load "flymake" t) |
|
31 |
(defun flymake-pyflakes-init () |
|
32 |
(let* ((temp-file (flymake-init-create-temp-buffer-copy |
|
33 |
'flymake-create-temp-inplace)) |
|
34 |
(local-file (file-relative-name |
|
35 |
temp-file |
|
36 |
(file-name-directory buffer-file-name)))) |
|
37 |
(list "pyflakes" (list local-file)))) |
|
38 |
(add-to-list 'flymake-allowed-file-name-masks |
|
39 |
'("\\.py\\'" flymake-pyflakes-init))) |
|
40 |
(add-hook 'python-mode-hook 'flymake-mode) |
|
30 |
;; (when (load "flymake" t) |
|
31 |
;; (defun flymake-pyflakes-init () |
|
32 |
;; (let* ((temp-file (flymake-init-create-temp-buffer-copy |
|
33 |
;; 'flymake-create-temp-inplace)) |
|
34 |
;; (local-file (file-relative-name |
|
35 |
;; temp-file |
|
36 |
;; (file-name-directory buffer-file-name)))) |
|
37 |
;; (list "pyflakes" (list local-file)))) |
|
38 |
;; (add-to-list 'flymake-allowed-file-name-masks |
|
39 |
;; '("\\.py\\'" flymake-pyflakes-init))) |
|
40 |
;; (add-hook 'python-mode-hook 'flymake-mode) |
|
41 |
41 |
|
42 |
42 |
;; yasnippet |
43 |
43 |
(add-to-list 'load-path |
51 |
51 |
|
52 |
52 |
(load "~/.emacs.d/plugins/django-mode.el") |
53 |
53 |
|
54 |
;; display current column number in mode line |
|
55 |
(setq column-number-mode t) |
|
56 |
