* lib/mesh-core.el: use pcase