Try fix a problem with Emacs-28.2 on Gentoo
This commit is contained in:
parent
2a3baa2036
commit
251d8620d0
@ -403,7 +403,8 @@ the contents of packages and allows to update packages to the latest version.
|
|||||||
#+caption: Customize Emacs Tree-sitter.
|
#+caption: Customize Emacs Tree-sitter.
|
||||||
#+name: lst:customize-emacs-tree-sitter
|
#+name: lst:customize-emacs-tree-sitter
|
||||||
#+begin_src emacs-lisp
|
#+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
|
;; https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg01372.html
|
||||||
(let ((tselp (expand-file-name "~/VCS/tree-sitter-module/dist/")))
|
(let ((tselp (expand-file-name "~/VCS/tree-sitter-module/dist/")))
|
||||||
(when (file-exists-p tselp)
|
(when (file-exists-p tselp)
|
||||||
|
Loading…
Reference in New Issue
Block a user