[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `M-q' uses tree-sitter now?
From: |
Theodor Thornhill |
Subject: |
Re: `M-q' uses tree-sitter now? |
Date: |
Sun, 18 Dec 2022 15:53:29 +0100 |
On 18 December 2022 14:44:25 CET, Eduardo Ochs <eduardoochs@gmail.com> wrote:
>Hi list,
>
>I am running an Emacs30 that I git-pulled and compiled a few hours ago
>- its emacs-repository-version is
>
> "5a344d90c53d681ed98ab03ad3e218a3c6561108"
>
>and I noticed that if I type `M-q' (`fill-paragraph') in a buffer in
>emacs-lisp-mode I get this error:
>
> prog-fill-reindent-defun: Symbol's function definition is void:
> treesit-parser-list
>
>I grepped the Lisp sources and `treesit-parser-list' is only mentioned
>in two files: "treesit.el" and "progmodes/prog-mode.el". I tried
>
> (require 'prog-mode)
> (require 'treesit)
>
>and `M-q' to see if the error would go away... but nah, same thing.
>So I thought that this would be worth reporting...
>
> Cheers =/,
> Eduardo Ochs
> http://angg.twu.net/eepitch.html
>
Strange. Shouldn't it be enough to put the require in the eval-when-compile? Is
anything else needed for the function to be picked up?