Certainly cleaner than the straw man you are trying to put up, no question about that.
It's not a straw man. It's what I'd expect most such cases to do. If it is very important to optimize your code, we could add a function match-count to do so. But is it really that important to optimize? _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel