From: Kenichi Handa Date: Tue, 19 Aug 1997 10:58:40 +0000 (+0000) Subject: (tit-process-body): Handle `\' used X-Git-Tag: emacs-20.1~517 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c374d5edd9087ca2f52e60530eb4d68bacc40ac9;p=emacs.git (tit-process-body): Handle `\' used for quoting the following digits correctly. --- diff --git a/lisp/international/titdic-cnv.el b/lisp/international/titdic-cnv.el index a92157744e9..f80925325cd 100644 --- a/lisp/international/titdic-cnv.el +++ b/lisp/international/titdic-cnv.el @@ -281,7 +281,9 @@ (setq keyseq (concat (regexp-quote (buffer-substring pos (point))) "[ \t]+")) (save-excursion - (while (re-search-backward "[\\\"]" pos t) + ;; Escape `"' and `\' which is not used for quoting the + ;; following octal digits. + (while (re-search-backward "\"\\|\\\\[^0-9]" pos t) (insert "\\") (forward-char -1))) (insert "\"")