Make Python skeletons available in 'python-ts-mode' as well
authorkobarity <kobarity@gmail.com>
Sat, 24 Aug 2024 11:13:16 +0000 (20:13 +0900)
committerEli Zaretskii <eliz@gnu.org>
Sat, 31 Aug 2024 09:42:42 +0000 (12:42 +0300)
* lisp/progmodes/python.el (python-base-mode-abbrev-table):
Renamed from 'python-mode-abbrev-table' to be available for both
'python-mode' and 'python-ts-mode'.  (Bug#72298)

lisp/progmodes/python.el

index f0a8684368371f294a48b2799f0b320b39b1f136..692d915f8f8b6ebe36f9a0edfabdb1990c8ebc61 100644 (file)
@@ -5390,8 +5390,8 @@ be added to `python-mode-skeleton-abbrev-table'."
               (format "Insert %s statement." name))
          ,@skel))))
 
-(define-abbrev-table 'python-mode-abbrev-table ()
-  "Abbrev table for Python mode."
+(define-abbrev-table 'python-base-mode-abbrev-table ()
+  "Abbrev table for Python modes."
   :parents (list python-mode-skeleton-abbrev-table))
 
 (defmacro python-define-auxiliary-skeleton (name &optional doc &rest skel)