From: kobarity Date: Sat, 24 Aug 2024 11:13:16 +0000 (+0900) Subject: Make Python skeletons available in 'python-ts-mode' as well X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1ffaeffd63539f793187a823cfb58bd4213fb84c;p=emacs.git 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) (cherry picked from commit 4b60267d832e0de209dd7a7665f7ed165091bd7d) --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index d7a1c90f8a6..dba2c4bf2ff 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -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)