Mercurial > hgrepos > hgweb.cgi > yatex
diff yatexlib.el @ 561:e947b9ae31c2 dev
Escape parens to dismiss warning
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 03 Jan 2019 12:26:23 +0900 |
parents | b742adfa30e2 |
children | 43508ed8bcc8 |
line wrap: on
line diff
--- a/yatexlib.el Tue Dec 25 20:12:43 2018 +0900 +++ b/yatexlib.el Thu Jan 03 12:26:23 2019 +0900 @@ -1,7 +1,7 @@ ;;; yatexlib.el --- YaTeX and yahtml common libraries -*- coding: sjis -*- ;;; ;;; (c)1994-2018 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Wed May 23 07:59:08 2018 on firestorm +;;; Last modified Thu Jan 3 12:23:22 2019 on firestorm ;;; $Id$ ;;; Code: @@ -1116,8 +1116,8 @@ regexp (format "\\(%s%s\\)\\|\\(%s%s\\)" YaTeX-ec-regexp (regexp-quote - (cdr (assq env '((?( . ")") (?) . "(") - (?[ . "]") (?] . "["))))) + (cdr (assq env '((?\( . ")") (?\) . "(") + (?\[ . "]") (?\] . "["))))) YaTeX-ec-regexp (regexp-quote (char-to-string env))) re-s (if (memq env '(?\( ?\[))