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.)
This commit is contained in:
Lars Ingebrigtsen 2022-06-04 15:07:01 +02:00
parent 54ed817eee
commit 0a5477b448

View file

@ -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)