diff options
| author | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
| commit | f0f8d7b82492e741950c363a03b886965c91b1b0 (patch) | |
| tree | 19b716830b1ebabc0d7d75949c4e6800c0f104ad /lisp/progmodes/python.el | |
| parent | 9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff) | |
| parent | c818c29771d3cb51875643b2f6c894073e429dd2 (diff) | |
| download | emacs-feature/native-comp-macos-fixes.tar.gz emacs-feature/native-comp-macos-fixes.zip | |
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 3af55be4a19..d83af83b32e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -283,24 +283,6 @@ | |||
| 283 | :link '(emacs-commentary-link "python")) | 283 | :link '(emacs-commentary-link "python")) |
| 284 | 284 | ||
| 285 | 285 | ||
| 286 | ;;; 24.x Compat | ||
| 287 | |||
| 288 | |||
| 289 | (eval-and-compile | ||
| 290 | (unless (fboundp 'prog-first-column) | ||
| 291 | (defun prog-first-column () | ||
| 292 | 0)) | ||
| 293 | (unless (fboundp 'file-local-name) | ||
| 294 | (defun file-local-name (file) | ||
| 295 | "Return the local name component of FILE. | ||
| 296 | It returns a file name which can be used directly as argument of | ||
| 297 | `process-file', `start-file-process', or `shell-command'." | ||
| 298 | (or (file-remote-p file 'localname) file)))) | ||
| 299 | |||
| 300 | ;; In Emacs 24.3 and earlier, `define-derived-mode' does not define | ||
| 301 | ;; the hook variable, it only puts documentation on the symbol. | ||
| 302 | (defvar inferior-python-mode-hook) | ||
| 303 | |||
| 304 | 286 | ||
| 305 | ;;; Bindings | 287 | ;;; Bindings |
| 306 | 288 | ||
| @@ -2809,6 +2791,7 @@ variable. | |||
| 2809 | python-shell-comint-watch-for-first-prompt-output-filter | 2791 | python-shell-comint-watch-for-first-prompt-output-filter |
| 2810 | python-comint-postoutput-scroll-to-bottom | 2792 | python-comint-postoutput-scroll-to-bottom |
| 2811 | comint-watch-for-password-prompt)) | 2793 | comint-watch-for-password-prompt)) |
| 2794 | (setq-local comint-highlight-input nil) | ||
| 2812 | (set (make-local-variable 'compilation-error-regexp-alist) | 2795 | (set (make-local-variable 'compilation-error-regexp-alist) |
| 2813 | python-shell-compilation-regexp-alist) | 2796 | python-shell-compilation-regexp-alist) |
| 2814 | (add-hook 'completion-at-point-functions | 2797 | (add-hook 'completion-at-point-functions |