Skip to content
Browse files

Cleanup

  • Loading branch information...
1 parent 96cf38b commit c7a1cfc1d372e8a35066c583b59c5430521dab06 @thomasf committed Apr 13, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 emacs.d/thomasf-emacs.org
View
8 emacs.d/thomasf-emacs.org
@@ -904,18 +904,18 @@ Disable slime for now
#+begin_src emacs-lisp
(when (load "flymake" t)
- (defun flymake-pylint-init (&optional trigger-type)
+ (defun flymake-pylint-init (&optional trigger-type)
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-with-folder-structure))
(local-file (file-relative-name
temp-file
(file-name-directory buffer-file-name)))
(options (when trigger-type (list "--trigger-type" trigger-type))))
(list (concat vendor-dir "flymake-python/pyflymake.py") (append options (list local-file)))))
-
+
(add-to-list 'flymake-allowed-file-name-masks
'("\\.py\\'" flymake-pylint-init)))
-
+
#+end_src
*** Ruby
#+begin_src emacs-lisp
@@ -1752,5 +1752,3 @@ This is very specific to how and what I do to my caps-lock key.
(define-key global-map "\C-ca" 'org-agenda)
(global-set-key (kbd "C-M-r") 'org-capture)
#+end_src
-
-

0 comments on commit c7a1cfc

Please sign in to comment.
Something went wrong with that request. Please try again.