extract kill-matching-buffers from running emacs