emacs: Fix "wrong" use of "delete-if"