added 'M-w' that copies entire line if no region