Make Python skeletons available in 'python-ts-mode' as well

* 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)
This commit is contained in:
kobarity 2024-08-24 20:13:16 +09:00 committed by Eli Zaretskii
parent 62dcbfb776
commit 4b60267d83

View 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)