yatex

changeset 561:e947b9ae31c2 dev

Escape parens to dismiss warning
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 03 Jan 2019 12:26:23 +0900
parents 3f5ce5a755c4
children 43508ed8bcc8
files yatexlib.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/yatexlib.el	Tue Dec 25 20:12:43 2018 +0900
     1.2 +++ b/yatexlib.el	Thu Jan 03 12:26:23 2019 +0900
     1.3 @@ -1,7 +1,7 @@
     1.4  ;;; yatexlib.el --- YaTeX and yahtml common libraries -*- coding: sjis -*-
     1.5  ;;; 
     1.6  ;;; (c)1994-2018 by HIROSE Yuuji.[yuuji@yatex.org]
     1.7 -;;; Last modified Wed May 23 07:59:08 2018 on firestorm
     1.8 +;;; Last modified Thu Jan  3 12:23:22 2019 on firestorm
     1.9  ;;; $Id$
    1.10  
    1.11  ;;; Code:
    1.12 @@ -1116,8 +1116,8 @@
    1.13  		  regexp (format "\\(%s%s\\)\\|\\(%s%s\\)"
    1.14  				 YaTeX-ec-regexp
    1.15  				 (regexp-quote
    1.16 -				  (cdr (assq env '((?( . ")") (?) . "(")
    1.17 -						   (?[ . "]") (?] . "[")))))
    1.18 +				  (cdr (assq env '((?\( . ")") (?\) . "(")
    1.19 +						   (?\[ . "]") (?\] . "[")))))
    1.20  				 YaTeX-ec-regexp
    1.21  				 (regexp-quote (char-to-string env)))
    1.22  		  re-s (if (memq env '(?\( ?\[))