diff options
| author | Lars Magne Ingebrigtsen | 2015-01-28 14:21:33 +1100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2015-01-28 14:21:33 +1100 |
| commit | 7f4f16b3ae6fdb59d83cfc01017668f2a564309f (patch) | |
| tree | 60e4a7f23f949afaed3bc2fddd0a528aef297861 /lisp/progmodes/python.el | |
| parent | 1a369fc7f1ccec6954344ec1ee0211a4d24c312d (diff) | |
| parent | be2d23e58721b7acc68c0ea654a38e5109df2aa2 (diff) | |
| download | emacs-7f4f16b3ae6fdb59d83cfc01017668f2a564309f.tar.gz emacs-7f4f16b3ae6fdb59d83cfc01017668f2a564309f.zip | |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index d298f96bc81..13ff439bef2 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -3816,7 +3816,9 @@ The skeleton will be bound to python-skeleton-NAME." | |||
| 3816 | ;;; Code check | 3816 | ;;; Code check |
| 3817 | 3817 | ||
| 3818 | (defcustom python-check-command | 3818 | (defcustom python-check-command |
| 3819 | "pyflakes" | 3819 | (or (executable-find "pyflakes") |
| 3820 | (executable-find "epylint") | ||
| 3821 | "install pyflakes, pylint or something else") | ||
| 3820 | "Command used to check a Python file." | 3822 | "Command used to check a Python file." |
| 3821 | :type 'string | 3823 | :type 'string |
| 3822 | :group 'python) | 3824 | :group 'python) |
| @@ -3827,7 +3829,7 @@ The skeleton will be bound to python-skeleton-NAME." | |||
| 3827 | :type 'string | 3829 | :type 'string |
| 3828 | :group 'python) | 3830 | :group 'python) |
| 3829 | 3831 | ||
| 3830 | (defvar python-check-custom-command nil | 3832 | (defvar-local python-check-custom-command nil |
| 3831 | "Internal use.") | 3833 | "Internal use.") |
| 3832 | 3834 | ||
| 3833 | (defun python-check (command) | 3835 | (defun python-check (command) |