mu4e: avoid byte-compiler warnings

This commit is contained in:
Dirk-Jan C. Binnema
2023-01-11 22:32:09 +02:00
parent 10041eb2e1
commit a629caef1a
2 changed files with 5 additions and 2 deletions

View File

@ -92,6 +92,9 @@ foreach src : mu4e_srcs
'--directory', meson.current_build_dir(),
'--directory', meson.current_source_dir(),
'--eval', '(setq load-prefer-newer t)',
# we don't need warnings for items that have become
# obsolete _after_ our last supported emacs release.
'--eval', '(setq byte-compile-warnings \'(not obsolete))',
'--eval', target_func,
'--funcall', 'batch-byte-compile', '@INPUT@'])
endforeach