]> git.eshelyaron.com Git - emacs.git/commit
Make more granular defun-type-regexp (bug#59873)
authorTheodor Thornhill <theo@thornhill.no>
Wed, 7 Dec 2022 09:07:37 +0000 (10:07 +0100)
committerYuan Fu <casouri@gmail.com>
Sat, 10 Dec 2022 00:46:01 +0000 (16:46 -0800)
commit839341d73707be2082abbd8834ba46292e59aeb7
tree596f1a3eb581a3598911a26527bb047cd0c4d4a2
parent8f49137c9bf614b285c19a3a845c7606fcba23a4
Make more granular defun-type-regexp (bug#59873)

We don't want to match local_variable_declaration and others to hit on
beginning-of-defun.  The fix is just to make the regexp a bit more
granular.

* lisp/progmodes/java-ts-mode.el (java-ts-mode): Use regexp-opt to
distinguish more granularly.
lisp/progmodes/java-ts-mode.el