]> git.eshelyaron.com Git - emacs.git/commitdiff
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)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:52 +0000 (09:51 +0200)
* 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)

(cherry picked from commit 4b60267d832e0de209dd7a7665f7ed165091bd7d)

lisp/progmodes/python.el

index d7a1c90f8a645160c1645a9ae607d7f2b155bc1a..dba2c4bf2fffebb7fe155a832e41c5defd9bcd0c 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)