diff --git a/README.org b/README.org index e8c8d16..ac89aa8 100644 --- a/README.org +++ b/README.org @@ -403,7 +403,8 @@ the contents of packages and allows to update packages to the latest version. #+caption: Customize Emacs Tree-sitter. #+name: lst:customize-emacs-tree-sitter #+begin_src emacs-lisp -(when (require 'treesit nil t) +(when (fboundp 'treesit-install-language-grammar) + (require 'treesit nil 'noerror) ;; https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg01372.html (let ((tselp (expand-file-name "~/VCS/tree-sitter-module/dist/"))) (when (file-exists-p tselp)