Consider the following python code:

enter image description here

As you see the content of expr is font locked as string.

How can I emacs make to format it as if expr=''' and ''' were gone:

enter image description here

Other strings should be font locked as strings, but expressions starting with expr=''' or exprABC=''' etc. should be ignored.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.