emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 4b60267d832 3/3: Make Python skeletons available in 'python-ts-


From: Eli Zaretskii
Subject: emacs-30 4b60267d832 3/3: Make Python skeletons available in 'python-ts-mode' as well
Date: Sat, 31 Aug 2024 05:43:16 -0400 (EDT)

branch: emacs-30
commit 4b60267d832e0de209dd7a7665f7ed165091bd7d
Author: kobarity <kobarity@gmail.com>
Commit: Eli Zaretskii <eliz@gnu.org>

    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)
---
 lisp/progmodes/python.el | 4 ++--
 1 file 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'."
               (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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]