aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorPhilip Kaludercic2023-09-13 12:26:22 +0200
committerPhilip Kaludercic2024-02-11 22:50:29 +0100
commitdb195116a4279521e9cf03c52b7026032461e3e1 (patch)
tree4e848bfed9031b2395679b431e162195a400f862 /lisp/progmodes/python.el
parentc0f656617d6848b94413b79b390788565d338fcd (diff)
downloademacs-db195116a4279521e9cf03c52b7026032461e3e1.tar.gz
emacs-db195116a4279521e9cf03c52b7026032461e3e1.zip
Add the public API of Compat to the core
* lisp/emacs-lisp/compat.el: Add stub file with minimal definitions, so that core packages, that haven't been installed from ELPA, can make use of the public API and use more recent function signatures. * lisp/progmodes/python.el (compat): Remove 'noerror flag, because Compat can now be required without the real package being available. * doc/lispref/package.texi (Forwards-Compatibility): Mention Compat and link to the manual. * etc/NEWS: Document change. (Bug#66554)
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index b1654b6a5aa..b7e43f3fc68 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -273,7 +273,7 @@
273(eval-when-compile (require 'subr-x)) ;For `string-empty-p' and `string-join'. 273(eval-when-compile (require 'subr-x)) ;For `string-empty-p' and `string-join'.
274(require 'treesit) 274(require 'treesit)
275(require 'pcase) 275(require 'pcase)
276(require 'compat nil 'noerror) 276(require 'compat)
277(require 'project nil 'noerror) 277(require 'project nil 'noerror)
278(require 'seq) 278(require 'seq)
279 279