aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2020-08-18 12:02:58 +0200
committerLars Ingebrigtsen2020-08-18 12:02:58 +0200
commit033f98efc30d128748cc2f6672ddfbbb416fcbfb (patch)
tree24471f0211b6ee5dc07dfd830c0fb78378d9d82b
parent60f045b893e040e4723961c422a6af8b0406a1b2 (diff)
downloademacs-033f98efc30d128748cc2f6672ddfbbb416fcbfb.tar.gz
emacs-033f98efc30d128748cc2f6672ddfbbb416fcbfb.zip
Remove some compat code from python.el
* lisp/progmodes/python.el: Remove some compat function definitions.
-rw-r--r--lisp/progmodes/python.el18
1 files changed, 0 insertions, 18 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 3af55be4a19..f8c18021ffa 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.
296It 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