1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 20:32:00 -08:00

Remove some compat code from python.el

* lisp/progmodes/python.el: Remove some compat function definitions.
This commit is contained in:
Lars Ingebrigtsen 2020-08-18 12:02:58 +02:00
parent 60f045b893
commit 033f98efc3

View file

@ -283,24 +283,6 @@
:link '(emacs-commentary-link "python"))
;;; 24.x Compat
(eval-and-compile
(unless (fboundp 'prog-first-column)
(defun prog-first-column ()
0))
(unless (fboundp 'file-local-name)
(defun file-local-name (file)
"Return the local name component of FILE.
It returns a file name which can be used directly as argument of
`process-file', `start-file-process', or `shell-command'."
(or (file-remote-p file 'localname) file))))
;; In Emacs 24.3 and earlier, `define-derived-mode' does not define
;; the hook variable, it only puts documentation on the symbol.
(defvar inferior-python-mode-hook)
;;; Bindings