From 28fe937d5d312246706060b80ba7e11a9ab9fe38 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 5 Jan 2026 21:39:42 +0200 Subject: [PATCH] ; * lisp/treesit.el (treesit-font-lock-level): Doc fix. (Bug#80136) --- lisp/treesit.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/treesit.el b/lisp/treesit.el index 4421523d0be..120b668bba0 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -1469,7 +1469,10 @@ done via `customize-variable'. To see which syntactical categories are fontified by each level in a particular major mode, examine the buffer-local value of the -variable `treesit-font-lock-feature-list'." +variable `treesit-font-lock-feature-list'. + +Setting this variable directly with `setq' or `let' doesn't work; +use `setopt' or \\[customize-option] instead." :type 'integer :set #'treesit--font-lock-level-setter :version "29.1")