I have used
modify-syntax-entry to remove underscores from being delimiting characters. e.g:
(modify-syntax-entry ?_ "w")
However I would like to temporary allow underscores to be used as a delimiter.
Normally I would temporarily override a variable with
let in a function.
How can the syntax table be temporarily overridden?