Add python-ts-mode to ffap-alist

* lisp/progmodes/python.el (ffap-alist): Add
python-ts-mode.  (Bug#76364)
This commit is contained in:
kobarity 2025-02-17 23:00:04 +09:00 committed by Stefan Kangas
parent 4faade9f84
commit 4509662236

View file

@ -5547,9 +5547,8 @@ def __FFAP_get_module_path(objstr):
(defvar ffap-alist)
(eval-after-load "ffap"
'(progn
(push '(python-mode . python-ffap-module-path) ffap-alist)
(push '(inferior-python-mode . python-ffap-module-path) ffap-alist)))
'(dolist (mode '(python-mode python-ts-mode inferior-python-mode))
(add-to-list 'ffap-alist `(,mode . python-ffap-module-path))))
;;; Code check