diff options
author | Alexandre Fayolle <alexandre.fayolle@logilab.fr> | 2007-07-04 14:06:21 +0200 |
---|---|---|
committer | Alexandre Fayolle <alexandre.fayolle@logilab.fr> | 2007-07-04 14:06:21 +0200 |
commit | 47fc73c56fdeec6e26453f854fc096e71d4262f9 (patch) | |
tree | 4c2e9c399832e686864c25b9fb049913cc2e6ca6 /elisp | |
parent | 1d1b42f4cec9ca37c672402cc62510c7528d0424 (diff) | |
download | pylint-git-47fc73c56fdeec6e26453f854fc096e71d4262f9.tar.gz |
disable keyboard shortcuts, don't use my- as a prefix for a function name
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/pylint.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/elisp/pylint.el b/elisp/pylint.el index 4ec405881..753c679ac 100644 --- a/elisp/pylint.el +++ b/elisp/pylint.el @@ -1,6 +1,6 @@ ;; adapted from pychecker for pylint -(defun my-python-hook () +(defun pylint-python-hook () (defun pylint () "Run pylint against the file behind the current buffer after checking if unsaved buffers should be saved." @@ -10,9 +10,9 @@ (command (concat "pylint --output-format=parseable \"" file "\""))) (save-some-buffers (not compilation-ask-about-save) nil) ; save files. (compile-internal command "No more errors or warnings" "pylint"))) - (local-set-key [f1] 'pylint) - (local-set-key [f2] 'previous-error) - (local-set-key [f3] 'next-error) +;; (local-set-key [f1] 'pylint) +;; (local-set-key [f2] 'previous-error) +;; (local-set-key [f3] 'next-error) (define-key py-mode-map @@ -34,4 +34,4 @@ ) -(add-hook 'python-mode-hook 'my-python-hook) +(add-hook 'python-mode-hook 'pylint-python-hook) |