• Eli Zaretskii's avatar
    Make tree-sitter based modes optional · 6b2f85ca
    Eli Zaretskii authored
    * lisp/progmodes/c-ts-mode.el: Update Commentary.  Make
    'auto-mode-alist' update conditional on the tree-sitter and
    grammar libraries being available.
    * lisp/progmodes/cmake-ts-mode.el:
    * lisp/progmodes/csharp-mode.el:
    * lisp/progmodes/dockerfile-ts-mode.el:
    * lisp/progmodes/go-ts-mode.el:
    * lisp/progmodes/java-ts-mode.el:
    * lisp/progmodes/js.el:
    * lisp/progmodes/json-ts-mode.el:
    * lisp/progmodes/python.el:
    * lisp/progmodes/ruby-ts-mode.el:
    * lisp/progmodes/typescript-ts-mode.el:
    * lisp/textmodes/css-mode.el:
    * lisp/textmodes/toml-ts-mode.el:
    * lisp/textmodes/yaml-ts-mode.el: Make 'auto-mode-alist' update
    for tree-sitter based modes be conditional on the tree-sitter and
    grammar libraries being available.  (Bug#60559)
    6b2f85ca
c-ts-mode.el 42 KB