Revert unnecessary fix

This commit is contained in:
Gerard Vermeulen 2023-01-09 19:04:33 +01:00
parent 0b2c586ed5
commit 9674cebb16
1 changed files with 1 additions and 2 deletions

View File

@ -397,8 +397,7 @@ 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 (fboundp 'treesit-install-language-grammar)
(require 'treesit nil 'noerror)
(when (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)