]> git.eshelyaron.com Git - emacs.git/commitdiff
Make skkdic-convert replacements literal
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 4 Jun 2022 13:07:01 +0000 (15:07 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 4 Jun 2022 13:07:01 +0000 (15:07 +0200)
* 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.)

lisp/international/ja-dic-cnv.el

index 704f1a1ae62a37d3ecda1e63cc73dbe6c936ddef..7f7c0261dca7e18960cfb4029d25363bea31834e 100644 (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)