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-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~480 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4b60267d832e0de209dd7a7665f7ed165091bd7d;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) --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index f0a86843683..692d915f8f8 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)