Added function m-buffer-on-region -- apply a function to a region.