diff options
| author | Juri Linkov | 2025-10-16 09:43:30 +0300 |
|---|---|---|
| committer | Juri Linkov | 2025-10-16 09:45:30 +0300 |
| commit | 0a4503de3a5a94fda8a81c8847a5cc4bf8bbe545 (patch) | |
| tree | 7ac345df0d9c9b0bac5246aeab90c8f64662ed28 /java/incrementing-version-code | |
| parent | 88c18efb3a1b9e48a5fb72b80cc7cdd5d03fa894 (diff) | |
| download | emacs-0a4503de3a5a94fda8a81c8847a5cc4bf8bbe545.tar.gz emacs-0a4503de3a5a94fda8a81c8847a5cc4bf8bbe545.zip | |
Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms
* lisp/progmodes/c-ts-mode.el:
* lisp/progmodes/cmake-ts-mode.el:
* lisp/progmodes/csharp-mode.el:
* lisp/progmodes/dockerfile-ts-mode.el:
* lisp/progmodes/elixir-ts-mode.el:
* lisp/progmodes/go-ts-mode.el:
* lisp/progmodes/heex-ts-mode.el:
* lisp/progmodes/java-ts-mode.el:
* lisp/progmodes/js.el:
* lisp/progmodes/json-ts-mode.el:
* lisp/progmodes/lua-ts-mode.el:
* lisp/progmodes/php-ts-mode.el:
* lisp/progmodes/python.el:
* lisp/progmodes/ruby-ts-mode.el:
* lisp/progmodes/rust-ts-mode.el:
* lisp/progmodes/sh-script.el:
* lisp/progmodes/typescript-ts-mode.el:
* lisp/textmodes/css-mode.el:
* lisp/textmodes/markdown-ts-mode.el:
* lisp/textmodes/mhtml-ts-mode.el:
* lisp/textmodes/toml-ts-mode.el:
* lisp/textmodes/yaml-ts-mode.el: In autoload forms replace
'(treesit-available-p)' with (boundp 'treesit-major-mode-remap-alist).
Calling 'treesit-available-p' in loaddefs.el is too early
since the tree-sitter library might not be loaded yet.
Checking if 'treesit-major-mode-remap-alist' is bound is
equivalent to checking if Emacs is compiled with tree-sitter support.
(bug#79622)
Diffstat (limited to 'java/incrementing-version-code')
0 files changed, 0 insertions, 0 deletions