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.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 0a641d0945f..2428ecb7555 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1317,7 +1317,7 @@ See `python-check-command' for the default."
1317 (let ((name (buffer-file-name))) 1317 (let ((name (buffer-file-name)))
1318 (if name 1318 (if name
1319 (file-name-nondirectory name)))))))) 1319 (file-name-nondirectory name))))))))
1320 (setq python-saved-check-command command) 1320 (set (make-local-variable 'python-saved-check-command) command)
1321 (require 'compile) ;To define compilation-* variables. 1321 (require 'compile) ;To define compilation-* variables.
1322 (save-some-buffers (not compilation-ask-about-save) nil) 1322 (save-some-buffers (not compilation-ask-about-save) nil)
1323 (let ((compilation-error-regexp-alist 1323 (let ((compilation-error-regexp-alist
@@ -2522,7 +2522,6 @@ with skeleton expansions for compound statement templates.
2522 (set (make-local-variable 'outline-heading-end-regexp) ":\\s-*\n") 2522 (set (make-local-variable 'outline-heading-end-regexp) ":\\s-*\n")
2523 (set (make-local-variable 'outline-level) #'python-outline-level) 2523 (set (make-local-variable 'outline-level) #'python-outline-level)
2524 (set (make-local-variable 'open-paren-in-column-0-is-defun-start) nil) 2524 (set (make-local-variable 'open-paren-in-column-0-is-defun-start) nil)
2525 (make-local-variable 'python-saved-check-command)
2526 (set (make-local-variable 'beginning-of-defun-function) 2525 (set (make-local-variable 'beginning-of-defun-function)
2527 'python-beginning-of-defun) 2526 'python-beginning-of-defun)
2528 (set (make-local-variable 'end-of-defun-function) 'python-end-of-defun) 2527 (set (make-local-variable 'end-of-defun-function) 'python-end-of-defun)