]> git.eshelyaron.com Git - emacs.git/commit
etags-regen-file-extensions: Enable for more extensions
authorDmitry Gutov <dmitry@gutov.dev>
Mon, 23 Sep 2024 18:35:00 +0000 (21:35 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 30 Sep 2024 19:38:08 +0000 (21:38 +0200)
commit46c6c5a5e6c4afd2fb5ff859d13121060fb34d7b
tree06631876c9902a1872fc4dcac2d19b373e8bd0dc
parent328c41f54452d27ee1a3c6f38371507d4e6ca813
etags-regen-file-extensions: Enable for more extensions

* lisp/progmodes/etags-regen.el (etags-regen-file-extensions):
Add more extensions, but remove "a".  From the ones recognized by
etags, also omit "t", "ml", "l", "def" and "inc", see
https://lists.gnu.org/archive/html/emacs-devel/2024-09/msg00735.html.
(etags-regen--all-files): Use 'string-match-p' for performance.
Bind 'case-fold-search' to t to match extensions in any case.

(cherry picked from commit 32d0c8f6af52cd8db363456d817c3d214eea4c00)
lisp/progmodes/etags-regen.el