aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorkobarity2024-08-24 20:13:16 +0900
committerEli Zaretskii2024-08-31 12:42:42 +0300
commit4b60267d832e0de209dd7a7665f7ed165091bd7d (patch)
treecfdab38acc07b018e4d2e7195a0cd8dd36b9ce71 /lisp/progmodes/python.el
parent62dcbfb776f7dce2da3de3d5cd31da7360316ded (diff)
downloademacs-4b60267d832e0de209dd7a7665f7ed165091bd7d.tar.gz
emacs-4b60267d832e0de209dd7a7665f7ed165091bd7d.zip
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)
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el4
1 files changed, 2 insertions, 2 deletions
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'."
5390 (format "Insert %s statement." name)) 5390 (format "Insert %s statement." name))
5391 ,@skel)))) 5391 ,@skel))))
5392 5392
5393(define-abbrev-table 'python-mode-abbrev-table () 5393(define-abbrev-table 'python-base-mode-abbrev-table ()
5394 "Abbrev table for Python mode." 5394 "Abbrev table for Python modes."
5395 :parents (list python-mode-skeleton-abbrev-table)) 5395 :parents (list python-mode-skeleton-abbrev-table))
5396 5396
5397(defmacro python-define-auxiliary-skeleton (name &optional doc &rest skel) 5397(defmacro python-define-auxiliary-skeleton (name &optional doc &rest skel)