aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el6
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)