diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 5406d74f69e..2f886a5b803 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2149,6 +2149,12 @@ The skeleton will be bound to python-skeleton-NAME." | |||
| 2149 | :type 'string | 2149 | :type 'string |
| 2150 | :group 'python) | 2150 | :group 'python) |
| 2151 | 2151 | ||
| 2152 | (defcustom python-check-buffer-name | ||
| 2153 | "*Python check: %s*" | ||
| 2154 | "Buffer name used for check commands." | ||
| 2155 | :type 'string | ||
| 2156 | :group 'python) | ||
| 2157 | |||
| 2152 | (defvar python-check-custom-command nil | 2158 | (defvar python-check-custom-command nil |
| 2153 | "Internal use.") | 2159 | "Internal use.") |
| 2154 | 2160 | ||
| @@ -2170,7 +2176,9 @@ Runs COMMAND, a shell command, as if by `compile'. See | |||
| 2170 | (save-some-buffers (not compilation-ask-about-save) nil) | 2176 | (save-some-buffers (not compilation-ask-about-save) nil) |
| 2171 | (let ((process-environment (python-shell-calculate-process-environment)) | 2177 | (let ((process-environment (python-shell-calculate-process-environment)) |
| 2172 | (exec-path (python-shell-calculate-exec-path))) | 2178 | (exec-path (python-shell-calculate-exec-path))) |
| 2173 | (compilation-start command))) | 2179 | (compilation-start command nil |
| 2180 | (lambda (mode-name) | ||
| 2181 | (format python-check-buffer-name command))))) | ||
| 2174 | 2182 | ||
| 2175 | 2183 | ||
| 2176 | ;;; Eldoc | 2184 | ;;; Eldoc |