Hi Jean-Francois,
yes, I've forgotten a `regex-opt' there:
--8<---------------cut here---------------start------------->8---
(defvar fjbu/LaTeX-verbatim-macros-with-delims-local
'("everb"))
(defun fjbu/LaTeX-activate-font-lock-for-multiline-verb-macros ()
(add-to-list 'font-latex-syntactic-keywords
`(,(concat "\\\\\\(?:" (regexp-opt
fjbu/LaTeX-verbatim-macros-with-delims-local) "\\)"
"\\([^a-z@*\n\f{]\\)\\(?:\n\\|.\\)*?"
"\\(" (regexp-quote TeX-esc) "*\\)\\(\\1\\)")
(1 "\"") (2 ".") (3 "\""))))
(add-hook 'LaTeX-mode-hook
#'fjbu/LaTeX-activate-font-lock-for-multiline-verb-macros)
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex