New answers tagged

1

Yes. The syntax of a character in a buffer defaults to the value indicated by the buffer's syntax table, but this can be overridden by setting the syntax-table text property on a character in a buffer, provided that parse-sexp-lookup-properties is true. And you can set syntax-propertize-function to a function that applies this property as needed to a stretch ...


2

I have been able to get forward-sexp to recognize the < and > pair by modifying the syntax table the erlang-mode uses: The erlang.el file has a function that sets the syntax table when the erlang-mode takes effect. It does the following: (modify-syntax-entry ?< "." table) (modify-syntax-entry ?> "." table) but it should be ...


Top 50 recent answers are included