From: Lars Ingebrigtsen Date: Sat, 4 Jun 2022 13:07:01 +0000 (+0200) Subject: Make skkdic-convert replacements literal X-Git-Tag: emacs-29.0.90~1910^2~232 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0a5477b448e6b62bcedc1803e531ec7686eea48d;p=emacs.git Make skkdic-convert replacements literal * lisp/international/ja-dic-cnv.el (skkdic-convert): The replacement is literal and fixed-case. (The build on EMBA is failing mysteriously with "Match data clobbered by buffer modification hooks", so this is mainly a stab in the dark at fixing that, but it's also generally correct.) --- diff --git a/lisp/international/ja-dic-cnv.el b/lisp/international/ja-dic-cnv.el index 704f1a1ae62..7f7c0261dca 100644 --- a/lisp/international/ja-dic-cnv.el +++ b/lisp/international/ja-dic-cnv.el @@ -335,7 +335,7 @@ Saves the output as `ja-dic-filename', in directory DIRNAME (if specified)." (insert-file-contents (expand-file-name filename))) (re-search-forward "^[^;]") (while (re-search-forward ";[^\n/]*/" nil t) - (replace-match "/"))) + (replace-match "/" t t))) ;; Setup and generate the header part of working buffer. (with-current-buffer buf (erase-buffer)