Add python-ts-mode to ffap-alist
* lisp/progmodes/python.el (ffap-alist): Add python-ts-mode. (Bug#76364)
This commit is contained in:
parent
4faade9f84
commit
4509662236
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue