]> git.eshelyaron.com Git - emacs.git/commit
Tighten the criteria for a defun in typescript-ts-mode (bug#77369)
authorYuan Fu <casouri@gmail.com>
Sun, 30 Mar 2025 04:15:02 +0000 (21:15 -0700)
committerEshel Yaron <me@eshelyaron.com>
Mon, 31 Mar 2025 08:54:39 +0000 (10:54 +0200)
commit9fda4eb2738587ba9f94f56c8f07a493d73b87b1
tree4e2bdacb03e4cfc460596a07cd04769796905e53
parent13627d2b282be6242d0ffb71fc45cac57bc3bc04
Tighten the criteria for a defun in typescript-ts-mode (bug#77369)

* lisp/progmodes/typescript-ts-mode.el:
(typescript-ts-mode--defun-predicate): New function.
(typescript-ts-base-mode): Use new predicate.

(cherry picked from commit 651418895d507001f161e2e22ca9b85647bca19b)
lisp/progmodes/typescript-ts-mode.el