|
From: | Stefan Monnier |
Subject: | Re: When is a syntax-propertize-function called when parse-sexp-lookup-properties is t for a current buffer? |
Date: | Tue, 05 Oct 2021 10:57:52 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> (defconst erlang-mode-syntax-propertize-function > (syntax-propertize-rules > ("\\(<\\)<" (1 "(>")) > (">\\(>\\)" (2 ")<"))) > "Syntax properties to activate << >> pairing.") > (setq-local parse-sexp-lookup-properties t) > (setq-local syntax-propertize-function > erlang-mode-syntax-propertize-function) `setq-local` at the toplevel makes no sense. Is it really the code you're using, or are you paraphrasing? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |