Sorry, I should have thought more flexibly. >>>>> Ikumi Keita <ik...@ikumi.que.jp> writes:
> So I propose to change the `concat' part like this: > (concat (regexp-quote TeX-esc) "\\(?:" > (regexp-opt cmds "\\(?:") > "\\b" > "\\|" > (regexp-opt symbs "\\(?:") > "\\)") The second `regexp-opt' does not require the optional argument. Just (concat (regexp-quote TeX-esc) "\\(?:" (regexp-opt cmds "\\(?:") "\\b" "\\|" (regexp-opt symbs) "\\)") would be sufficient. Best, Ikumi Keita _______________________________________________ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex