diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 9a2d17abb4a..285a57348e0 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -4724,11 +4724,12 @@ def __FFAP_get_module_path(objstr): | |||
| 4724 | ;;; Code check | 4724 | ;;; Code check |
| 4725 | 4725 | ||
| 4726 | (defcustom python-check-command | 4726 | (defcustom python-check-command |
| 4727 | (or (executable-find "pyflakes") | 4727 | (cond ((executable-find "pyflakes") "pyflakes") |
| 4728 | (executable-find "epylint") | 4728 | ((executable-find "epylint") "epylint") |
| 4729 | "install pyflakes, pylint or something else") | 4729 | (t "pyflakes")) |
| 4730 | "Command used to check a Python file." | 4730 | "Command used to check a Python file." |
| 4731 | :type 'string) | 4731 | :type 'string |
| 4732 | :version "29.1") | ||
| 4732 | 4733 | ||
| 4733 | (defcustom python-check-buffer-name | 4734 | (defcustom python-check-buffer-name |
| 4734 | "*Python check: %s*" | 4735 | "*Python check: %s*" |