emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 033f98e 6/9: Remove some compat code from python.el


From: Lars Ingebrigtsen
Subject: master 033f98e 6/9: Remove some compat code from python.el
Date: Tue, 18 Aug 2020 06:12:38 -0400 (EDT)

branch: master
commit 033f98efc30d128748cc2f6672ddfbbb416fcbfb
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Remove some compat code from python.el
    
    * lisp/progmodes/python.el: Remove some compat function definitions.
---
 lisp/progmodes/python.el | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 3af55be..f8c1802 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]