Try fix a problem with Emacs-28.2 on Gentoo

This commit is contained in:
Gerard Vermeulen 2023-01-09 12:34:45 +01:00
parent 2a3baa2036
commit 251d8620d0

View File

@ -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)