aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2023-09-24 15:30:01 +0300
committerEli Zaretskii2023-09-24 15:30:01 +0300
commit7d5fee0feaa5740f3fbbfc6d5f13855bf58b9c25 (patch)
tree739733890723c3dfcb1b04ce8ffc256094c3d862 /lisp
parentead491d230721e6c12c849878cdcd2890cb0454b (diff)
downloademacs-7d5fee0feaa5740f3fbbfc6d5f13855bf58b9c25.tar.gz
emacs-7d5fee0feaa5740f3fbbfc6d5f13855bf58b9c25.zip
Support regeneration of ja-dic.el under '--with-small-ja-dic'
* lisp/international/ja-dic-cnv.el (skkdic-convert): Record the value of SMALL_JA_DIC option used to produce ja-dic.el. * leim/Makefile.in (small-ja-dic-option): New target, triggers regeneration of ja-dic.el when the value of SMALL_JA_DIC option changes by the configure script. Suggested by Ulrich Mueller <ulm@gentoo.org>. (${leimdir}/ja-dic/ja-dic.el): Depend on 'small-ja-dic-option'. (Bug#66125) * make-dist (possibly_non_vc_files): * .gitignore: Add 'leim/small-ja-dic-option'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/international/ja-dic-cnv.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/international/ja-dic-cnv.el b/lisp/international/ja-dic-cnv.el
index 9ce31f11d91..c507aa58807 100644
--- a/lisp/international/ja-dic-cnv.el
+++ b/lisp/international/ja-dic-cnv.el
@@ -346,6 +346,8 @@ If NO-REDUCTION is non-nil, do not reduce the dictionary vocabulary."
346 (erase-buffer) 346 (erase-buffer)
347 (buffer-disable-undo) 347 (buffer-disable-undo)
348 (generate-lisp-file-heading ja-dic-filename 'skkdic-convert :code nil) 348 (generate-lisp-file-heading ja-dic-filename 'skkdic-convert :code nil)
349 (insert (format ";; Generated with small ja-dic option: %s\n\n"
350 (if no-reduction "no" "yes")))
349 (insert ";; Original SKK dictionary file: " 351 (insert ";; Original SKK dictionary file: "
350 (file-relative-name (expand-file-name filename) dirname) 352 (file-relative-name (expand-file-name filename) dirname)
351 "\n\n" 353 "\n\n"