Added region-at-line function and set it to M-SPC.