diff options
| author | Kenichi Handa | 1997-08-19 10:58:40 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-08-19 10:58:40 +0000 |
| commit | c374d5edd9087ca2f52e60530eb4d68bacc40ac9 (patch) | |
| tree | 322609567dbb8aaf1aa135d717bceee2f8ad1b56 | |
| parent | 1dcf3e0f968704369abc2f2e54345b7b760f9615 (diff) | |
| download | emacs-c374d5edd9087ca2f52e60530eb4d68bacc40ac9.tar.gz emacs-c374d5edd9087ca2f52e60530eb4d68bacc40ac9.zip | |
(tit-process-body): Handle `\' used
for quoting the following digits correctly.
| -rw-r--r-- | lisp/international/titdic-cnv.el | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
| 281 | (setq keyseq | 281 | (setq keyseq |
| 282 | (concat (regexp-quote (buffer-substring pos (point))) "[ \t]+")) | 282 | (concat (regexp-quote (buffer-substring pos (point))) "[ \t]+")) |
| 283 | (save-excursion | 283 | (save-excursion |
| 284 | (while (re-search-backward "[\\\"]" pos t) | 284 | ;; Escape `"' and `\' which is not used for quoting the |
| 285 | ;; following octal digits. | ||
| 286 | (while (re-search-backward "\"\\|\\\\[^0-9]" pos t) | ||
| 285 | (insert "\\") | 287 | (insert "\\") |
| 286 | (forward-char -1))) | 288 | (forward-char -1))) |
| 287 | (insert "\"") | 289 | (insert "\"") |